summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJonathan "Geenz" Goodman <geenz@lindenlab.com>2025-03-06 15:12:34 -0500
committerGitHub <noreply@github.com>2025-03-06 15:12:34 -0500
commit86774bb53f2417eb3d6e8882f5e1b6ea1b5c7376 (patch)
treec3029d8d5674c296434d22e15f54db1efee6003d
parentb8eda5b1154f35093da563d21667e45b6988c700 (diff)
parent3cc72641089aa8271141d3bdef3be7ad1809abda (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.h6
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