diff options
Diffstat (limited to 'indra/newview/llfloatertranslationsettings.cpp')
-rw-r--r-- | indra/newview/llfloatertranslationsettings.cpp | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/indra/newview/llfloatertranslationsettings.cpp b/indra/newview/llfloatertranslationsettings.cpp index ac3e7ac8fa..ac4514b438 100644 --- a/indra/newview/llfloatertranslationsettings.cpp +++ b/indra/newview/llfloatertranslationsettings.cpp @@ -253,14 +253,18 @@ void LLFloaterTranslationSettings::onEditorFocused(LLFocusableElement* control) void LLFloaterTranslationSettings::onBingKeyEdited() { - mBingAPIKeyEditor->setTentative(FALSE); - setBingVerified(false, false); + if (mBingAPIKeyEditor->isDirty()) + { + setBingVerified(false, false); + } } void LLFloaterTranslationSettings::onGoogleKeyEdited() { - mGoogleAPIKeyEditor->setTentative(FALSE); - setGoogleVerified(false, false); + if (mGoogleAPIKeyEditor->isDirty()) + { + setGoogleVerified(false, false); + } } void LLFloaterTranslationSettings::onBtnBingVerify() |