diff options
| author | Rye <rye@alchemyviewer.org> | 2025-03-06 14:09:29 -0500 |
|---|---|---|
| committer | Rye <rye@alchemyviewer.org> | 2025-03-06 14:09:29 -0500 |
| commit | 3cc72641089aa8271141d3bdef3be7ad1809abda (patch) | |
| tree | c3029d8d5674c296434d22e15f54db1efee6003d | |
| parent | b8eda5b1154f35093da563d21667e45b6988c700 (diff) | |
Fix preferences search not finding text defined in text boxes (#3653)
| -rw-r--r-- | indra/llui/lltextbox.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/indra/llui/lltextbox.h b/indra/llui/lltextbox.h index a3cde45cd0..500dc8669f 100644 --- a/indra/llui/lltextbox.h +++ b/indra/llui/lltextbox.h @@ -76,6 +76,12 @@ protected: LLUIString mText; callback_t mClickedCallback; bool mShowCursorHand; + +protected: + virtual std::string _getSearchText() const + { + return LLTextBase::_getSearchText() + mText.getString(); + } }; // Build time optimization, generate once in .cpp file |
