diff --git a/indra/llui/llcombobox.cpp b/indra/llui/llcombobox.cpp
index ce8bee216..74ec1323f 100644
--- a/indra/llui/llcombobox.cpp
+++ b/indra/llui/llcombobox.cpp
@@ -178,8 +178,6 @@ LLView* LLComboBox::fromXML(LLXMLNodePtr node, LLView *parent, LLUICtrlFactory *
NULL);
combo_box->setAllowTextEntry(allow_text_entry, max_chars);
- combo_box->initFromXML(node, parent);
-
const std::string& contents = node->getValue();
if (contents.find_first_not_of(" \n\t") != contents.npos)
@@ -210,6 +208,9 @@ LLView* LLComboBox::fromXML(LLXMLNodePtr node, LLView *parent, LLUICtrlFactory *
}
}
+ //Do this AFTER combo_items are set up so setValue is actually able to select the correct initial entry.
+ combo_box->initFromXML(node, parent);
+
// if providing user text entry or descriptive label
// don't select an item under the hood
if (!combo_box->acceptsTextInput() && combo_box->mLabel.empty())
diff --git a/indra/newview/app_settings/settings.xml b/indra/newview/app_settings/settings.xml
index ba3f512f8..24d9c80f8 100644
--- a/indra/newview/app_settings/settings.xml
+++ b/indra/newview/app_settings/settings.xml
@@ -12973,7 +12973,7 @@
Type
Boolean
Value
- 1
+ 0
UseOutfitFolders