diff options
Diffstat (limited to 'indra/newview/lloutfitslist.cpp')
-rw-r--r-- | indra/newview/lloutfitslist.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/indra/newview/lloutfitslist.cpp b/indra/newview/lloutfitslist.cpp index c0f13cc75f..66d8bff18f 100644 --- a/indra/newview/lloutfitslist.cpp +++ b/indra/newview/lloutfitslist.cpp @@ -225,7 +225,7 @@ void LLOutfitsList::updateAddedCategory(LLUUID cat_id) tab->setDropDownStateChangedCallback(boost::bind(&LLOutfitsList::resetItemSelection, this, list, cat_id)); // Depending on settings, force showing list items that don't match current filter(EXT-7158) - LLCachedControl<bool> list_filter(gSavedSettings, "OutfitListFilterFullList"); + static LLCachedControl<bool> list_filter(gSavedSettings, "OutfitListFilterFullList"); list->setForceShowingUnmatchedItems(list_filter(), false); // Setting list commit callback to monitor currently selected wearable item. @@ -1556,12 +1556,12 @@ bool LLOutfitListSortMenu::onEnable(LLSD::String param) { if ("favorites_to_top" == param) { - LLCachedControl<S32> sort_order(gSavedSettings, "OutfitListSortOrder", 0); + static LLCachedControl<S32> sort_order(gSavedSettings, "OutfitListSortOrder", 0); return sort_order == 1; } else if ("show_entire_outfit" == param) { - LLCachedControl<bool> filter_mode(gSavedSettings, "OutfitListFilterFullList", 0); + static LLCachedControl<bool> filter_mode(gSavedSettings, "OutfitListFilterFullList", 0); return filter_mode; } |