diff options
author | Mnikolenko Productengine <mnikolenko@productengine.com> | 2020-11-19 20:36:11 +0200 |
---|---|---|
committer | Mnikolenko Productengine <mnikolenko@productengine.com> | 2020-11-19 20:36:11 +0200 |
commit | acce727c1291bca942fc3f79088c4c637fd762e1 (patch) | |
tree | 5d39947cf1624f5e04e9677dae8697958696656c /indra/newview | |
parent | cc794988a759dd0f523a19a994514ce49fbc98da (diff) |
SL-13278 FIXED Creating default clothing not accessible through "Edit My Outfit" for any type that does not already exist
Diffstat (limited to 'indra/newview')
-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 dd1130aeba..7c962c296b 100644 --- a/indra/newview/llpaneloutfitedit.cpp +++ b/indra/newview/llpaneloutfitedit.cpp @@ -703,6 +703,10 @@ void LLPanelOutfitEdit::onListViewFilterCommitted(LLUICtrl* ctrl) S32 curr_filter_type = mListViewFilterCmbBox->getCurrentIndex(); if (curr_filter_type < 0) return; + if (curr_filter_type >= LVIT_SHAPE) + { + mWearableItemsList->setMenuWearableType(LLWearableType::EType(curr_filter_type - LVIT_SHAPE)); + } mWearableListManager->setFilterCollector(mListViewItemTypes[curr_filter_type]->collector); } |