summaryrefslogtreecommitdiff
path: root/indra/llui/llbutton.cpp
diff options
context:
space:
mode:
authorAndreyL ProductEngine <alihatskiy@productengine.com>2019-01-03 22:59:49 +0200
committerAndreyL ProductEngine <alihatskiy@productengine.com>2019-01-03 22:59:49 +0200
commit09b750483a2cde7ea3c80a0238f3224a2cf1cb70 (patch)
tree5f9b38b93f916c820cf9308ed689701790b3eef5 /indra/llui/llbutton.cpp
parentab428e194eaa144e8dcecc353c3c7ed83d6cee3e (diff)
SL-10293 Firestorm PR: preferences and menu search
Diffstat (limited to 'indra/llui/llbutton.cpp')
-rw-r--r--indra/llui/llbutton.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/indra/llui/llbutton.cpp b/indra/llui/llbutton.cpp
index 510a2537b9..6b7a8a8b86 100644
--- a/indra/llui/llbutton.cpp
+++ b/indra/llui/llbutton.cpp
@@ -769,6 +769,10 @@ void LLButton::draw()
}
}
+ // Highlight if needed
+ if( ll::ui::SearchableControl::getHighlighted() )
+ label_color = ll::ui::SearchableControl::getHighlightColor();
+
// Unselected label assignments
LLWString label = getCurrentLabel();