summaryrefslogtreecommitdiff
path: root/indra/newview/llfloatertranslationsettings.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'indra/newview/llfloatertranslationsettings.cpp')
-rw-r--r--indra/newview/llfloatertranslationsettings.cpp12
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()