summaryrefslogtreecommitdiff
path: root/indra/newview/llpanelmaininventory.cpp
diff options
context:
space:
mode:
authorAndrey Kleshchev <andreykproductengine@lindenlab.com>2024-05-02 03:05:41 +0300
committerAndrey Kleshchev <andreykproductengine@lindenlab.com>2024-05-02 03:05:41 +0300
commitfc5e5327bca83846bb97cb7ff578b0dcb3a8892e (patch)
treed2e36fb29bcbfaf0c7e726fc127e878e6b728c1f /indra/newview/llpanelmaininventory.cpp
parent645811c6ef3134a540fc1bc7d32d7bdb8fa35046 (diff)
Viewer#1301 Implement Inventory Favorites Tab WIP#2
Diffstat (limited to 'indra/newview/llpanelmaininventory.cpp')
-rw-r--r--indra/newview/llpanelmaininventory.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/indra/newview/llpanelmaininventory.cpp b/indra/newview/llpanelmaininventory.cpp
index b1bfd52bc6..c41fedec20 100644
--- a/indra/newview/llpanelmaininventory.cpp
+++ b/indra/newview/llpanelmaininventory.cpp
@@ -199,9 +199,7 @@ BOOL LLPanelMainInventory::postBuild()
if (favorites_panel)
{
favorites_panel->setSortOrder(gSavedSettings.getU32(LLInventoryPanel::DEFAULT_SORT_ORDER));
- favorites_panel->setShowFolderState(LLInventoryFilter::SHOW_NON_EMPTY_FOLDERS);
LLInventoryFilter& favorites_filter = favorites_panel->getFilter();
- favorites_filter.setFilterFavorites(LLInventoryFilter::FILTER_ONLY_FAVORITES);
favorites_filter.setEmptyLookupMessage("InventoryNoMatchingFavorites");
favorites_filter.markDefault();
favorites_panel->setSelectCallback(boost::bind(&LLPanelMainInventory::onSelectionChange, this, favorites_panel, _1, _2));