summaryrefslogtreecommitdiff
path: root/indra/newview/llpanelmaininventory.cpp
diff options
context:
space:
mode:
authorMnikolenko ProductEngine <mnikolenko@productengine.com>2014-06-20 11:09:31 +0300
committerMnikolenko ProductEngine <mnikolenko@productengine.com>2014-06-20 11:09:31 +0300
commit4a7d60aaea1cf2d8f175622cbfaecf63140387d3 (patch)
tree02bb7727bf86dceba83a07cd999b79de231e382c /indra/newview/llpanelmaininventory.cpp
parentf8627d43423d6e2383b13dfa98e26849a51ce39a (diff)
MAINT-1192 FIXED Empty folders remain in the recent items tab of inventory until relog
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)
{