diff options
author | Andrey Lihatskiy <alihatskiy@productengine.com> | 2024-10-12 14:07:05 +0300 |
---|---|---|
committer | Andrey Lihatskiy <alihatskiy@productengine.com> | 2024-10-12 14:07:05 +0300 |
commit | 56101002a460ecd9bb7a264d55b6f8ecb9a348a0 (patch) | |
tree | da613ed4e420551235416b8f68e0ed87204469a3 /indra/newview/lloutfitslist.cpp | |
parent | dcb5cf5bc21ba2e316cc2889b2c1371860b0348d (diff) | |
parent | 25b19eb6b8b8482d5f6cff0cae8665a0f7518eb1 (diff) |
Merge commit '25b19eb6b8' into marchcat/c-develop
# Conflicts:
# indra/newview/lloutfitgallery.cpp
# indra/newview/lloutfitslist.cpp
# indra/newview/llpanelwearing.cpp
# indra/newview/llwearableitemslist.cpp
Diffstat (limited to 'indra/newview/lloutfitslist.cpp')
-rw-r--r-- | indra/newview/lloutfitslist.cpp | 11 |
1 files changed, 3 insertions, 8 deletions
diff --git a/indra/newview/lloutfitslist.cpp b/indra/newview/lloutfitslist.cpp index 397fabd5d3..e46f852062 100644 --- a/indra/newview/lloutfitslist.cpp +++ b/indra/newview/lloutfitslist.cpp @@ -784,7 +784,6 @@ void LLOutfitsList::onOutfitRightClick(LLUICtrl* ctrl, S32 x, S32 y, const LLUUI } } - void LLOutfitsList::handleInvFavColorChange() { for (outfits_map_t::iterator iter = mOutfitsMap.begin(); @@ -1463,10 +1462,6 @@ bool LLOutfitListGearMenuBase::onEnable(LLSD::String param) { return LLAppearanceMgr::instance().getCanReplaceCOF(mOutfitList->getSelectedOutfitUUID()); } - if ("sort_by_image" == param) - { - return !gSavedSettings.getBOOL("OutfitGallerySortByName"); - } return mOutfitList->isActionEnabled(param); } @@ -1547,7 +1542,7 @@ LLOutfitListSortMenu::LLOutfitListSortMenu(LLOutfitListBase* parent_panel) enable_registrar.add("Sort.OnEnable", boost::bind(&LLOutfitListSortMenu::onEnable, this, _2)); mMenu = LLUICtrlFactory::getInstance()->createFromFile<LLToggleableMenu>( - "menu_outfit_sort.xml", gMenuHolder, LLViewerMenuHolderGL::child_registry_t::instance()); + "menu_outfit_list_sort.xml", gMenuHolder, LLViewerMenuHolderGL::child_registry_t::instance()); llassert(mMenu); } @@ -1581,10 +1576,10 @@ bool LLOutfitListSortMenu::onEnable(LLSD::String param) else if ("show_entire_outfit" == param) { LLCachedControl<bool> filter_mode(gSavedSettings, "OutfitListFilterFullList", 0); - return !filter_mode; + return filter_mode; } - return true; + return false; } |