diff options
author | Vadim ProductEngine <vsavchuk@productengine.com> | 2011-09-16 00:38:17 +0300 |
---|---|---|
committer | Vadim ProductEngine <vsavchuk@productengine.com> | 2011-09-16 00:38:17 +0300 |
commit | 1474f8c9a288dbc475ae8c482ee9961a39e94c0a (patch) | |
tree | 48e9bf81fc223df1e5f363e37270db7710633b4f /indra/newview/llfloatertranslationsettings.cpp | |
parent | 10b7c8d07f0c68613e29acecc334ea2d345d8ca3 (diff) |
STORM-1577 WIP Addressing review feedback.
* Don't enable the "Verify" button if use just moves cursor in the API key input field.
* Fixed copy&paste error in unit tests.
* Fixed a typo: LLBingTranslarionHandler
* Added Doxygen comments to lltranslate.h.
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() |