From 2bcef9312bc232ab4ff88a9e366aa071a0e2eb67 Mon Sep 17 00:00:00 2001 From: Vadim ProductEngine Date: Tue, 25 Oct 2011 17:14:58 +0200 Subject: STORM-1577 WIP Don't reset the hint on click in a key input field if the field is disabled. --- indra/newview/llfloatertranslationsettings.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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(control); - if (editor) + if (editor && editor->hasTabStop()) // if enabled. getEnabled() doesn't work { if (editor->getTentative()) { -- cgit v1.2.3