diff options
Diffstat (limited to 'indra/newview/llfloatertranslationsettings.cpp')
-rw-r--r-- | indra/newview/llfloatertranslationsettings.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/indra/newview/llfloatertranslationsettings.cpp b/indra/newview/llfloatertranslationsettings.cpp index 107205aed3..3e77578997 100644 --- a/indra/newview/llfloatertranslationsettings.cpp +++ b/indra/newview/llfloatertranslationsettings.cpp @@ -128,8 +128,8 @@ void LLFloaterTranslationSettings::updateControlsEnabledState() getChild<LLTextBox>("google_api_key_label")->setEnabled(on); mGoogleAPIKeyEditor->setEnabled(on); - mBingAPIKeyEditor->setEnabled(service == "bing"); - mGoogleAPIKeyEditor->setEnabled(service == "google"); + mBingAPIKeyEditor->setEnabled(on && service == "bing"); + mGoogleAPIKeyEditor->setEnabled(on && service == "google"); } void LLFloaterTranslationSettings::onBtnOK() |