summaryrefslogtreecommitdiff
path: root/indra/newview
diff options
context:
space:
mode:
authorSergei Litovchuk <slitovchuk@productengine.com>2010-07-06 17:25:02 +0300
committerSergei Litovchuk <slitovchuk@productengine.com>2010-07-06 17:25:02 +0300
commit38d54c07508ece7c08a0cc14e9da4706b3f7ef16 (patch)
treebe3f3374b8fee76b6f30701df3e326260dd49e91 /indra/newview
parentcf675389d06556ec041bfa6f4e3474c835e79c1c (diff)
EXT-8180 FIXED Added resetting wearable items list position to top on "Add More" panel reopen.
Reviewed by Vadim Savchuk at https://codereview.productengine.com/secondlife/r/680/. --HG-- branch : product-engine
Diffstat (limited to 'indra/newview')
-rw-r--r--indra/newview/llpaneloutfitedit.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/indra/newview/llpaneloutfitedit.cpp b/indra/newview/llpaneloutfitedit.cpp
index f38ff842e9..289fe8c570 100644
--- a/indra/newview/llpaneloutfitedit.cpp
+++ b/indra/newview/llpaneloutfitedit.cpp
@@ -931,6 +931,9 @@ void LLPanelOutfitEdit::showFilteredWearablesListView(LLWearableType::EType type
showAddWearablesPanel(true);
showWearablesListView();
+ // Reset mWearableItemsList position to top. See EXT-8180.
+ mWearableItemsList->goToTop();
+
//e_list_view_item_type implicitly contains LLWearableType::EType starting from LVIT_SHAPE
applyListViewFilter((EListViewItemType) (LVIT_SHAPE + type));
}