diff options
author | Vadim ProductEngine <vsavchuk@productengine.com> | 2011-10-25 17:14:58 +0200 |
---|---|---|
committer | Vadim ProductEngine <vsavchuk@productengine.com> | 2011-10-25 17:14:58 +0200 |
commit | 2bcef9312bc232ab4ff88a9e366aa071a0e2eb67 (patch) | |
tree | ee011eaa57aed611db385e8a6b6f0208ca2e28ef /indra/newview/llfloatertranslationsettings.cpp | |
parent | 56b2e4ac7c7cc4f27f08b4024ecbeace4c3a3e51 (diff) |
STORM-1577 WIP Don't reset the hint on click in a key input field if the field is disabled.
Diffstat (limited to 'indra/newview/llfloatertranslationsettings.cpp')
-rw-r--r-- | indra/newview/llfloatertranslationsettings.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/indra/newview/llfloatertranslationsettings.cpp b/indra/newview/llfloatertranslationsettings.cpp index ac4514b438..959edff713 100644 --- a/indra/newview/llfloatertranslationsettings.cpp +++ b/indra/newview/llfloatertranslationsettings.cpp @@ -241,7 +241,7 @@ void LLFloaterTranslationSettings::verifyKey(int service, const std::string& key void LLFloaterTranslationSettings::onEditorFocused(LLFocusableElement* control) { LLLineEditor* editor = dynamic_cast<LLLineEditor*>(control); - if (editor) + if (editor && editor->hasTabStop()) // if enabled. getEnabled() doesn't work { if (editor->getTentative()) { |