aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/linden/indra/newview
diff options
context:
space:
mode:
authorJacek Antonelli2008-11-08 22:37:38 -0600
committerJacek Antonelli2008-11-08 22:37:38 -0600
commit0cb6f6fcdc6b8b58e777b5819a4283da0e5d4620 (patch)
tree8381de534c49cc5cf750ee292fbf8503ff60b7de /linden/indra/newview
parentQuick Filter works, but is a bit rough. (diff)
downloadmeta-impy-0cb6f6fcdc6b8b58e777b5819a4283da0e5d4620.zip
meta-impy-0cb6f6fcdc6b8b58e777b5819a4283da0e5d4620.tar.gz
meta-impy-0cb6f6fcdc6b8b58e777b5819a4283da0e5d4620.tar.bz2
meta-impy-0cb6f6fcdc6b8b58e777b5819a4283da0e5d4620.tar.xz
Added 'Custom' filter option (opens filters window).
Diffstat (limited to 'linden/indra/newview')
-rw-r--r--linden/indra/newview/llinventoryview.cpp10
-rw-r--r--linden/indra/newview/skins/default/xui/en-us/floater_inventory.xml3
2 files changed, 13 insertions, 0 deletions
diff --git a/linden/indra/newview/llinventoryview.cpp b/linden/indra/newview/llinventoryview.cpp
index e0061ba..6d5bf4d 100644
--- a/linden/indra/newview/llinventoryview.cpp
+++ b/linden/indra/newview/llinventoryview.cpp
@@ -1060,6 +1060,16 @@ void LLInventoryView::onQuickFilterCommit(LLUICtrl* ctrl, void* user_data)
1060 filter_type = 0x1 << LLInventoryType::IT_SNAPSHOT; 1060 filter_type = 0x1 << LLInventoryType::IT_SNAPSHOT;
1061 } 1061 }
1062 1062
1063 else if ("Custom..." == item_type)
1064 {
1065 // When they select custom, show the floater then return
1066 if( !(view->filtersVisible(view)) )
1067 {
1068 view->toggleFindOptions();
1069 }
1070 return;
1071 }
1072
1063 else 1073 else
1064 { 1074 {
1065 // Show all types 1075 // Show all types
diff --git a/linden/indra/newview/skins/default/xui/en-us/floater_inventory.xml b/linden/indra/newview/skins/default/xui/en-us/floater_inventory.xml
index 7d0f086..9cda2a9 100644
--- a/linden/indra/newview/skins/default/xui/en-us/floater_inventory.xml
+++ b/linden/indra/newview/skins/default/xui/en-us/floater_inventory.xml
@@ -50,6 +50,9 @@
50 <combo_item name="type_snapshot"> 50 <combo_item name="type_snapshot">
51 Snapshots 51 Snapshots
52 </combo_item> 52 </combo_item>
53 <combo_item name="type_custom">
54 Custom...
55 </combo_item>
53 </combo_box> 56 </combo_box>
54 57
55 <tab_container name="inventory filter tabs" follows="left|top|right|bottom" 58 <tab_container name="inventory filter tabs" follows="left|top|right|bottom"