diff options
author | Vadim ProductEngine <vsavchuk@productengine.com> | 2011-09-07 19:38:40 +0300 |
---|---|---|
committer | Vadim ProductEngine <vsavchuk@productengine.com> | 2011-09-07 19:38:40 +0300 |
commit | daf9c53595ebad3561b2a0ea00d9da2f697189d0 (patch) | |
tree | 2ff7b3bf69d8a2e6dd1d6223f2f0e6325876b82c | |
parent | ef01821337a0dc428fd090ae94c8cc9d9a13bdb5 (diff) |
STORM-1577 WIP Fix: disable both line editors if machine translation is disabled.
-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() |