FIRE-12840: Searching for items in the worn tab resets the filter to All types

master
Ansariel 2014-02-04 10:43:11 +01:00
parent 52274d4892
commit e69f41ab75
1 changed files with 11 additions and 1 deletions

View File

@ -538,7 +538,17 @@ void LLPanelMainInventory::onClearSearch()
if (mActivePanel)
{
mActivePanel->setFilterSubString(LLStringUtil::null);
mActivePanel->setFilterTypes(0xffffffffffffffffULL);
// <FS:Ansariel>
//mActivePanel->setFilterTypes(0xffffffffffffffffULL);
if (mActivePanel->getName() == "Worn Items")
{
mActivePanel->setFilterTypes(0xffffffff - (0x1 << LLInventoryType::IT_GESTURE));
}
else
{
mActivePanel->setFilterTypes(0xffffffffffffffffULL);
}
// </FS:Ansariel>
// ## Zi: Filter Links Menu
// We don't do this anymore, we have a menu option for it now. -Zi