summaryrefslogtreecommitdiff
path: root/indra/newview/llinventoryfilter.cpp
diff options
context:
space:
mode:
authormaxim_productengine <mnikolenko@productengine.com>2018-02-20 17:52:36 +0200
committermaxim_productengine <mnikolenko@productengine.com>2018-02-20 17:52:36 +0200
commit3e2734ccbc7a47c313bf874c2c91e00f1abab6b1 (patch)
tree22492efb6c3b9d236361bf1b53e7cd71a71c967c /indra/newview/llinventoryfilter.cpp
parentf22c1bcf2014346211ecc32c21d48cc88aca8e07 (diff)
MAINT-5165 Hide Inbox and Outbox despite "Show Filters..." settings
Diffstat (limited to 'indra/newview/llinventoryfilter.cpp')
-rw-r--r--indra/newview/llinventoryfilter.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/indra/newview/llinventoryfilter.cpp b/indra/newview/llinventoryfilter.cpp
index 9193613e9f..f64c39c3ad 100644
--- a/indra/newview/llinventoryfilter.cpp
+++ b/indra/newview/llinventoryfilter.cpp
@@ -153,7 +153,7 @@ bool LLInventoryFilter::checkFolder(const LLUUID& folder_id) const
// we're showing all folders, overriding filter
if (mFilterOps.mShowFolderState == LLInventoryFilter::SHOW_ALL_FOLDERS)
{
- return true;
+ return !gInventory.isCategoryHidden(folder_id);
}
// when applying a filter, matching folders get their contents downloaded first