summaryrefslogtreecommitdiff
path: root/indra/newview/llpanelmaininventory.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'indra/newview/llpanelmaininventory.cpp')
-rwxr-xr-xindra/newview/llpanelmaininventory.cpp7
1 files changed, 7 insertions, 0 deletions
diff --git a/indra/newview/llpanelmaininventory.cpp b/indra/newview/llpanelmaininventory.cpp
index 90dfb24377..2378e09979 100755
--- a/indra/newview/llpanelmaininventory.cpp
+++ b/indra/newview/llpanelmaininventory.cpp
@@ -183,6 +183,13 @@ BOOL LLPanelMainInventory::postBuild()
}
+ if (recent_items_panel)
+ {
+ U64 types = recent_items_panel->getFilter().getFilterObjectTypes();
+ types &= ~(0x1 << LLInventoryType::IT_CATEGORY);
+ recent_items_panel->getFilter().setFilterObjectTypes(types);
+ }
+
mFilterEditor = getChild<LLFilterEditor>("inventory search editor");
if (mFilterEditor)
{