From a889af210def28933c8175b5ebaa6a224ee35df7 Mon Sep 17 00:00:00 2001 From: Ansariel Date: Sat, 16 Jun 2018 17:36:40 +0200 Subject: [PATCH] Fix inventory search mysteriously not filtering inbox propely after toggling FSShowInboxFolder setting --- indra/newview/llinventorypanel.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/indra/newview/llinventorypanel.cpp b/indra/newview/llinventorypanel.cpp index 8bfaa488f9..2de46a2366 100644 --- a/indra/newview/llinventorypanel.cpp +++ b/indra/newview/llinventorypanel.cpp @@ -326,7 +326,7 @@ void LLInventoryPanel::initFromParams(const LLInventoryPanel::Params& params) } // Optional hiding of Received Items folder aka Inbox - if (getName() != "Worn Items") + if (getName() != "Worn Items" && getName() != "inventory_inbox") { if (!gSavedSettings.getBOOL("FSShowInboxFolder")) { @@ -1542,7 +1542,6 @@ void LLInventoryPanel::updateShowInboxFolder(const LLSD &data) { filter.setFilterCategoryTypes(filter.getFilterCategoryTypes() & ~(1ULL << LLFolderType::FT_INBOX)); } - filter.setModified(LLInventoryFilter::FILTER_RESTART); } // Optional hiding of Inbox folder