summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Polunin <apolunin@gmail.com>2010-06-24 15:19:05 +0300
committerAndrew Polunin <apolunin@gmail.com>2010-06-24 15:19:05 +0300
commit5a3e16390975b2b8c24b07f52fac89d0d6f3c99b (patch)
tree07f29902785f1d753718971071b340f368f1d9d9
parentf8f9f90965962b0e79f29a487ee5e920d6bc0f05 (diff)
EXT-7984 FIXED (state of \"add more\" panel should reset upon closing or re-opening outfit editor)
Added code to the LLPanelOutfitEdit::onOpen which resets the state of the \"add more\" panel Reviewed by Mike Antipov at https://codereview.productengine.com/secondlife/r/646 --HG-- branch : product-engine
-rw-r--r--indra/newview/llpaneloutfitedit.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/indra/newview/llpaneloutfitedit.cpp b/indra/newview/llpaneloutfitedit.cpp
index 014b940e00..1544717873 100644
--- a/indra/newview/llpaneloutfitedit.cpp
+++ b/indra/newview/llpaneloutfitedit.cpp
@@ -405,6 +405,10 @@ void LLPanelOutfitEdit::onOpen(const LLSD& key)
displayCurrentOutfit();
mInitialized = true;
}
+
+ showAddWearablesPanel(false);
+ mWearableItemsList->resetSelection();
+ mInventoryItemsPanel->clearSelection();
}
void LLPanelOutfitEdit::moveWearable(bool closer_to_body)