From 05d8238833be43677825cd58c57aab6ad3ee259e Mon Sep 17 00:00:00 2001 From: Jacek Antonelli Date: Tue, 11 Nov 2008 01:27:30 -0600 Subject: Show Filters window refreshes properly. --- linden/indra/newview/llinventoryview.cpp | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'linden/indra') diff --git a/linden/indra/newview/llinventoryview.cpp b/linden/indra/newview/llinventoryview.cpp index 6d5bf4d..07b5115 100644 --- a/linden/indra/newview/llinventoryview.cpp +++ b/linden/indra/newview/llinventoryview.cpp @@ -1078,6 +1078,15 @@ void LLInventoryView::onQuickFilterCommit(LLUICtrl* ctrl, void* user_data) view->mActivePanel->setFilterTypes( filter_type ); + + // Force the filters window to update itself, if it's open. + LLInventoryViewFinder* finder = view->getFinder(); + if( finder ) + { + finder->updateElementsFromFilter(); + } + + llinfos << "Quick Filter: " << item_type << llendl; } -- cgit v1.1