diff --git a/indra/newview/llpanelmaininventory.cpp b/indra/newview/llpanelmaininventory.cpp index 755e009100..d677b1ada5 100755 --- a/indra/newview/llpanelmaininventory.cpp +++ b/indra/newview/llpanelmaininventory.cpp @@ -550,9 +550,9 @@ void LLPanelMainInventory::onClearSearch() mActivePanel->setFilterSubString(LLStringUtil::null); // //mActivePanel->setFilterTypes(0xffffffffffffffffULL); - if (mActivePanel->getName() == "Worn Items") + if (mActivePanel->getName() == "Recent Items" || mActivePanel->getName() == "Worn Items") { - mActivePanel->setFilterTypes(0xffffffff - (0x1 << LLInventoryType::IT_GESTURE)); + mActivePanel->getFilter().resetDefault(); } else {