From f2358a2d4d441dc0c70d0449bc33038a396fba36 Mon Sep 17 00:00:00 2001 From: Andrey Kleshchev Date: Fri, 17 May 2024 19:11:46 +0300 Subject: viewer#1425 Sorting in Appearance floater #2 --- indra/newview/app_settings/settings.xml | 2 +- indra/newview/lloutfitslist.cpp | 3 +-- 2 files changed, 2 insertions(+), 3 deletions(-) (limited to 'indra/newview') diff --git a/indra/newview/app_settings/settings.xml b/indra/newview/app_settings/settings.xml index 48c251240f..565d20daa1 100644 --- a/indra/newview/app_settings/settings.xml +++ b/indra/newview/app_settings/settings.xml @@ -15744,7 +15744,7 @@ OutfitListFilterFullList Comment - 0 - show all items in outfit as long as outfit or item inside matches. 1 - show only matches + 0 - show only matches. 1 - show all items in outfit as long as outfit or item inside matches. Persist 1 Type diff --git a/indra/newview/lloutfitslist.cpp b/indra/newview/lloutfitslist.cpp index 16cd3935a3..c0f13cc75f 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(); @@ -1563,7 +1562,7 @@ bool LLOutfitListSortMenu::onEnable(LLSD::String param) else if ("show_entire_outfit" == param) { LLCachedControl filter_mode(gSavedSettings, "OutfitListFilterFullList", 0); - return !filter_mode; + return filter_mode; } return false; -- cgit v1.2.3