Skip to content
Snippets Groups Projects
Commit f3025b0a authored by Ansariel's avatar Ansariel
Browse files

STORM-1933: Certain show in search categories for parcels will not stay selected

parent 8d4b0b92
No related branches found
No related tags found
No related merge requests found
...@@ -175,6 +175,7 @@ Ansariel Hiller ...@@ -175,6 +175,7 @@ Ansariel Hiller
STORM-1685 STORM-1685
STORM-1713 STORM-1713
STORM-1899 STORM-1899
STORM-1933
Aralara Rajal Aralara Rajal
Ardy Lay Ardy Lay
STORM-859 STORM-859
......
...@@ -2104,9 +2104,8 @@ void LLPanelLandOptions::refreshSearch() ...@@ -2104,9 +2104,8 @@ void LLPanelLandOptions::refreshSearch()
mCheckShowDirectory->set(FALSE); mCheckShowDirectory->set(FALSE);
mCheckShowDirectory->setEnabled(FALSE); mCheckShowDirectory->setEnabled(FALSE);
// *TODO:Translate const std::string& none_string = LLParcel::getCategoryString(LLParcel::C_NONE);
const std::string& none_string = LLParcel::getCategoryUIString(LLParcel::C_NONE); mCategoryCombo->setValue(none_string);
mCategoryCombo->setSimple(none_string);
mCategoryCombo->setEnabled(FALSE); mCategoryCombo->setEnabled(FALSE);
return; return;
} }
...@@ -2133,10 +2132,9 @@ void LLPanelLandOptions::refreshSearch() ...@@ -2133,10 +2132,9 @@ void LLPanelLandOptions::refreshSearch()
mCheckShowDirectory ->set(show_directory); mCheckShowDirectory ->set(show_directory);
// Set by string in case the order in UI doesn't match the order by index. // Set by string in case the order in UI doesn't match the order by index.
// *TODO:Translate
LLParcel::ECategory cat = parcel->getCategory(); LLParcel::ECategory cat = parcel->getCategory();
const std::string& category_string = LLParcel::getCategoryUIString(cat); const std::string& category_string = LLParcel::getCategoryString(cat);
mCategoryCombo->setSimple(category_string); mCategoryCombo->setValue(category_string);
std::string tooltip; std::string tooltip;
bool enable_show_directory = false; bool enable_show_directory = false;
......
...@@ -1365,7 +1365,7 @@ Only large parcels can be listed in search. ...@@ -1365,7 +1365,7 @@ Only large parcels can be listed in search.
<combo_box.item <combo_box.item
label="Any Category" label="Any Category"
name="item0" name="item0"
value="any" /> value="none" />
<combo_box.item <combo_box.item
label="Linden Location" label="Linden Location"
name="item1" name="item1"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment