diff options
author | McCabe Maxsted | 2009-09-11 16:33:01 -0700 |
---|---|---|
committer | McCabe Maxsted | 2009-09-11 16:33:01 -0700 |
commit | 65e5463ae176dd148a4edcc45d0d4e1160cc6108 (patch) | |
tree | 17b1f1a1490c3f333170c0fabe51681a5b5ce812 /linden/indra/newview/llinventoryview.cpp | |
parent | Fixed missing 'm' for draw distance slider (diff) | |
download | meta-impy-65e5463ae176dd148a4edcc45d0d4e1160cc6108.zip meta-impy-65e5463ae176dd148a4edcc45d0d4e1160cc6108.tar.gz meta-impy-65e5463ae176dd148a4edcc45d0d4e1160cc6108.tar.bz2 meta-impy-65e5463ae176dd148a4edcc45d0d4e1160cc6108.tar.xz |
Applied inventory Search menu from Emerald viewer (still ugly)
Diffstat (limited to '')
-rw-r--r-- | linden/indra/newview/llinventoryview.cpp | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/linden/indra/newview/llinventoryview.cpp b/linden/indra/newview/llinventoryview.cpp index 0f1eb2b..cc89ee1 100644 --- a/linden/indra/newview/llinventoryview.cpp +++ b/linden/indra/newview/llinventoryview.cpp | |||
@@ -521,6 +521,15 @@ void LLInventoryView::init(LLInventoryModel* inventory) | |||
521 | addBoolControl("Inventory.FoldersAlwaysByName", sort_folders_by_name ); | 521 | addBoolControl("Inventory.FoldersAlwaysByName", sort_folders_by_name ); |
522 | addBoolControl("Inventory.SystemFoldersToTop", sort_system_folders_to_top ); | 522 | addBoolControl("Inventory.SystemFoldersToTop", sort_system_folders_to_top ); |
523 | 523 | ||
524 | //Search Controls | ||
525 | U32 search_type = gSavedSettings.getU32("InventorySearchType"); | ||
526 | BOOL search_by_name = (search_type == 0); | ||
527 | |||
528 | addBoolControl("Inventory.SearchByName", search_by_name); | ||
529 | addBoolControl("Inventory.SearchByCreator", !search_by_name); | ||
530 | |||
531 | addBoolControl("Inventory.SearchByAll", !search_by_name); | ||
532 | |||
524 | mSavedFolderState = new LLSaveFolderState(); | 533 | mSavedFolderState = new LLSaveFolderState(); |
525 | mSavedFolderState->setApply(FALSE); | 534 | mSavedFolderState->setApply(FALSE); |
526 | 535 | ||