From 2c71f8a4e63157b9f7aa2b3372a9b703ab23a8b8 Mon Sep 17 00:00:00 2001 From: ziree Date: Wed, 30 May 2012 00:16:28 +0200 Subject: [PATCH] Reset inventory filter dropdown on Collapse. Fixes FIRE-4806 --- indra/newview/llpanelmaininventory.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/indra/newview/llpanelmaininventory.cpp b/indra/newview/llpanelmaininventory.cpp index be0afc74a3..02aded02c3 100644 --- a/indra/newview/llpanelmaininventory.cpp +++ b/indra/newview/llpanelmaininventory.cpp @@ -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); + // make sure the dropdown shows "All Types" once again + LLInventoryFilter* filter=mActivePanel->getFilter(); + updateFilterDropdown(filter); + // } if (finder)