diff options
author | Anchor <none@none> | 2019-05-10 12:22:29 -0600 |
---|---|---|
committer | Anchor <none@none> | 2019-05-10 12:22:29 -0600 |
commit | 504a138cb147f6a01573c7c6453a411c330e5f73 (patch) | |
tree | 5a89d6ff115263c9e0764f94122a86dee099b718 /indra/llui/llbutton.h | |
parent | f9f129f93d8eab94e58ff2229a13d68bee23f959 (diff) | |
parent | 34322f8f37380df868703051230f2a4109602b3f (diff) |
Merge
Diffstat (limited to 'indra/llui/llbutton.h')
-rw-r--r-- | indra/llui/llbutton.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/indra/llui/llbutton.h b/indra/llui/llbutton.h index 7b4719866d..7629ed1fea 100644 --- a/indra/llui/llbutton.h +++ b/indra/llui/llbutton.h @@ -62,6 +62,7 @@ class LLUICtrlFactory; class LLButton : public LLUICtrl, public LLBadgeOwner +, public ll::ui::SearchableControl { public: struct Params @@ -380,6 +381,12 @@ protected: LLFlashTimer * mFlashingTimer; bool mForceFlashing; // Stick flashing color even if button is pressed bool mHandleRightMouse; + +protected: + virtual std::string _getSearchText() const + { + return getLabelUnselected() + getToolTip(); + } }; // Build time optimization, generate once in .cpp file |