diff options
author | Jonathan "Geenz" Goodman <geenz@lindenlab.com> | 2025-03-06 15:12:34 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-03-06 15:12:34 -0500 |
commit | 86774bb53f2417eb3d6e8882f5e1b6ea1b5c7376 (patch) | |
tree | c3029d8d5674c296434d22e15f54db1efee6003d | |
parent | b8eda5b1154f35093da563d21667e45b6988c700 (diff) | |
parent | 3cc72641089aa8271141d3bdef3be7ad1809abda (diff) |
Merge pull request #3682 from VectorMutt/rye/fixprefsearch
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 |