summaryrefslogtreecommitdiff
path: root/indra/newview/llfloatertranslationsettings.cpp
diff options
context:
space:
mode:
authorVadim ProductEngine <vsavchuk@productengine.com>2011-10-25 17:14:58 +0200
committerVadim ProductEngine <vsavchuk@productengine.com>2011-10-25 17:14:58 +0200
commit2bcef9312bc232ab4ff88a9e366aa071a0e2eb67 (patch)
treeee011eaa57aed611db385e8a6b6f0208ca2e28ef /indra/newview/llfloatertranslationsettings.cpp
parent56b2e4ac7c7cc4f27f08b4024ecbeace4c3a3e51 (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.cpp2
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())
{