diff options
author | Andrew Polunin <apolunin@gmail.com> | 2010-06-24 15:19:05 +0300 |
---|---|---|
committer | Andrew Polunin <apolunin@gmail.com> | 2010-06-24 15:19:05 +0300 |
commit | 5a3e16390975b2b8c24b07f52fac89d0d6f3c99b (patch) | |
tree | 07f29902785f1d753718971071b340f368f1d9d9 | |
parent | f8f9f90965962b0e79f29a487ee5e920d6bc0f05 (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.cpp | 4 |
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) |