Reset inventory filter dropdown on Collapse. Fixes FIRE-4806

ziree 2012-05-30 00:16:28 +02:00
parent 92b3efbfc4
commit 2c71f8a4e6
1 changed files with 4 additions and 0 deletions

View File

@ -519,6 +519,10 @@ void LLPanelMainInventory::onClearSearch()
// ## Zi: Filter Links Menu
// We don't do this anymore, we have a menu option for it now. -Zi
// mActivePanel->setFilterLinks(LLInventoryFilter::FILTERLINK_INCLUDE_LINKS);
// <FS:Zi> make sure the dropdown shows "All Types" once again
LLInventoryFilter* filter=mActivePanel->getFilter();
updateFilterDropdown(filter);
// </FS:Zi>
}
if (finder)