diff options
author | Jacek Antonelli | 2008-11-22 01:51:58 -0600 |
---|---|---|
committer | Jacek Antonelli | 2008-11-22 02:59:50 -0600 |
commit | dd541253e46f56b5fae76262c4f20396d7a21c57 (patch) | |
tree | 8424e619f83c69acaa274c09e324202af2a915f1 /linden/indra | |
parent | Disabled testing output when changing quick filter. (diff) | |
download | meta-impy-dd541253e46f56b5fae76262c4f20396d7a21c57.zip meta-impy-dd541253e46f56b5fae76262c4f20396d7a21c57.tar.gz meta-impy-dd541253e46f56b5fae76262c4f20396d7a21c57.tar.bz2 meta-impy-dd541253e46f56b5fae76262c4f20396d7a21c57.tar.xz |
Bogus quick filter strings should be ignored.
Diffstat (limited to 'linden/indra')
-rw-r--r-- | linden/indra/newview/llinventoryview.cpp | 8 |
1 files changed, 7 insertions, 1 deletions
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) | |||
1075 | return; | 1075 | return; |
1076 | } | 1076 | } |
1077 | 1077 | ||
1078 | else | 1078 | else if ("Show All Items" == item_type) |
1079 | { | 1079 | { |
1080 | // Show all types | 1080 | // Show all types |
1081 | filter_type = 0xffffffff; | 1081 | filter_type = 0xffffffff; |
1082 | } | 1082 | } |
1083 | 1083 | ||
1084 | else | ||
1085 | { | ||
1086 | llwarns << "Ignoring unknown filter: " << item_type << llendl; | ||
1087 | return; | ||
1088 | } | ||
1089 | |||
1084 | view->mActivePanel->setFilterTypes( filter_type ); | 1090 | view->mActivePanel->setFilterTypes( filter_type ); |
1085 | 1091 | ||
1086 | 1092 | ||