diff options
author | Mnikolenko ProductEngine <mnikolenko@productengine.com> | 2014-06-20 11:09:31 +0300 |
---|---|---|
committer | Mnikolenko ProductEngine <mnikolenko@productengine.com> | 2014-06-20 11:09:31 +0300 |
commit | 4a7d60aaea1cf2d8f175622cbfaecf63140387d3 (patch) | |
tree | 02bb7727bf86dceba83a07cd999b79de231e382c /indra/newview/llpanelmaininventory.cpp | |
parent | f8627d43423d6e2383b13dfa98e26849a51ce39a (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-x | indra/newview/llpanelmaininventory.cpp | 7 |
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) { |