Skip to content
Snippets Groups Projects
Commit 2bcef931 authored by Vadim ProductEngine's avatar Vadim ProductEngine
Browse files

STORM-1577 WIP Don't reset the hint on click in a key input field if the field is disabled.

parent 56b2e4ac
No related branches found
No related tags found
No related merge requests found
...@@ -241,7 +241,7 @@ void LLFloaterTranslationSettings::verifyKey(int service, const std::string& key ...@@ -241,7 +241,7 @@ void LLFloaterTranslationSettings::verifyKey(int service, const std::string& key
void LLFloaterTranslationSettings::onEditorFocused(LLFocusableElement* control) void LLFloaterTranslationSettings::onEditorFocused(LLFocusableElement* control)
{ {
LLLineEditor* editor = dynamic_cast<LLLineEditor*>(control); LLLineEditor* editor = dynamic_cast<LLLineEditor*>(control);
if (editor) if (editor && editor->hasTabStop()) // if enabled. getEnabled() doesn't work
{ {
if (editor->getTentative()) if (editor->getTentative())
{ {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment