From dd541253e46f56b5fae76262c4f20396d7a21c57 Mon Sep 17 00:00:00 2001 From: Jacek Antonelli Date: Sat, 22 Nov 2008 01:51:58 -0600 Subject: Bogus quick filter strings should be ignored. --- linden/indra/newview/llinventoryview.cpp | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'linden/indra') diff --git a/linden/indra/newview/llinventoryview.cpp b/linden/indra/newview/llinventoryview.cpp index 5470e30..743c068 100644 --- a/linden/indra/newview/llinventoryview.cpp +++ b/linden/indra/newview/llinventoryview.cpp @@ -1075,12 +1075,18 @@ void LLInventoryView::onQuickFilterCommit(LLUICtrl* ctrl, void* user_data) return; } - else + else if ("Show All Items" == item_type) { // Show all types filter_type = 0xffffffff; } + else + { + llwarns << "Ignoring unknown filter: " << item_type << llendl; + return; + } + view->mActivePanel->setFilterTypes( filter_type ); -- cgit v1.1