diff --git a/indra/llui/llcombobox.cpp b/indra/llui/llcombobox.cpp
index 6fd7084df..46ba4d93e 100644
--- a/indra/llui/llcombobox.cpp
+++ b/indra/llui/llcombobox.cpp
@@ -94,10 +94,6 @@ LLComboBox::LLComboBox( const std::string& name, const LLRect &rect, const std::
mButton->setFont(LLFontGL::getFontSansSerifSmall());
mButton->setFollows(FOLLOWS_LEFT | FOLLOWS_BOTTOM | FOLLOWS_RIGHT);
mButton->setHAlign( LLFontGL::LEFT );
- if(mAllowTextEntry)
- {
- mButton->setRightHPad(2);
- }
addChild(mButton);
@@ -931,6 +927,11 @@ BOOL LLComboBox::handleUnicodeCharHere(llwchar uni_char)
void LLComboBox::setAllowTextEntry(BOOL allow, S32 max_chars, BOOL set_tentative)
{
mAllowTextEntry = allow;
+ if(allow)
+ mButton->setRightHPad(2);
+ else
+ mButton->setRightHPad(LLBUTTON_H_PAD);
+
mTextEntryTentative = set_tentative;
mMaxChars = max_chars;
diff --git a/indra/newview/app_settings/settings.xml b/indra/newview/app_settings/settings.xml
index 95f2971b9..ae097df9c 100644
--- a/indra/newview/app_settings/settings.xml
+++ b/indra/newview/app_settings/settings.xml
@@ -10432,6 +10432,17 @@ This should be as low as possible, but too low may break functionality
Value
0
+ PrimMediaAutoPlayEnable
+
PerAccountSettingsFile