diff options
author | Paul Guslisty <pguslisty@productengine.com> | 2010-06-24 15:13:30 +0300 |
---|---|---|
committer | Paul Guslisty <pguslisty@productengine.com> | 2010-06-24 15:13:30 +0300 |
commit | 370ddfb03e5df7d9207c77aec9237dfe192b65dc (patch) | |
tree | 64f8ea35ef8dbfeb4bffeb605ac651b8e80f58b8 /indra/newview/llpaneloutfitedit.cpp | |
parent | 249d014b67a130265dc05ddf99a3760f7a2ae17b (diff) |
EXT-7963 FIXED Edit Outfit > Add More > Do not switch to next item type after add/replace
- Added callback to wear item from Add More panel on doubleclick
- To keep the list in its existing state and do not change the contents of the Add More panel to the next listed unworn item after the user wears an item, check if the item is not dummy. Dummy icons have no ids.
Reviewed by Mike Antipov and Neal Orman at https://codereview.productengine.com/secondlife/r/647/
--HG--
branch : product-engine
Diffstat (limited to 'indra/newview/llpaneloutfitedit.cpp')
-rw-r--r-- | indra/newview/llpaneloutfitedit.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/indra/newview/llpaneloutfitedit.cpp b/indra/newview/llpaneloutfitedit.cpp index 54776ca2f7..014b940e00 100644 --- a/indra/newview/llpaneloutfitedit.cpp +++ b/indra/newview/llpaneloutfitedit.cpp @@ -387,6 +387,7 @@ BOOL LLPanelOutfitEdit::postBuild() mWearableItemsList = getChild<LLInventoryItemsList>("list_view"); mWearableItemsList->setCommitOnSelectionChange(true); mWearableItemsList->setCommitCallback(boost::bind(&LLPanelOutfitEdit::onInventorySelectionChange, this)); + mWearableItemsList->setDoubleClickCallback(boost::bind(&LLPanelOutfitEdit::onPlusBtnClicked, this)); mSaveComboBtn.reset(new LLSaveOutfitComboBtn(this)); return TRUE; |