Fix inventory search mysteriously not filtering inbox propely after toggling FSShowInboxFolder setting

meow-7.2.2
Ansariel 2018-06-16 17:36:40 +02:00
parent d5a75fabdb
commit a889af210d
1 changed files with 1 additions and 2 deletions

View File

@ -326,7 +326,7 @@ void LLInventoryPanel::initFromParams(const LLInventoryPanel::Params& params)
}
// <FS:Ansariel> 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);
}
// </FS:Ansariel> Optional hiding of Inbox folder