summaryrefslogtreecommitdiff
path: root/indra/llui/llsearcheditor.cpp
diff options
context:
space:
mode:
authorNat Goodspeed <nat@lindenlab.com>2024-03-01 10:23:56 -0500
committerNat Goodspeed <nat@lindenlab.com>2024-03-01 10:23:56 -0500
commit1204468415dd5248bbd01d7aaede520ede3b9d36 (patch)
treeb378b94ff7266ce5c7f719b3ba55c836837869e9 /indra/llui/llsearcheditor.cpp
parent0f2248ea12713822c546e362487aa94bb29e2899 (diff)
parent1820095dd4a64c142e14869c76ae09e1e0ca6a12 (diff)
Merge DRTVWR-489 to main on promotion of Emoji viewer (#673).
Diffstat (limited to 'indra/llui/llsearcheditor.cpp')
-rw-r--r--indra/llui/llsearcheditor.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/indra/llui/llsearcheditor.cpp b/indra/llui/llsearcheditor.cpp
index bafeef41fb..cfaf08ec0a 100644
--- a/indra/llui/llsearcheditor.cpp
+++ b/indra/llui/llsearcheditor.cpp
@@ -178,6 +178,10 @@ void LLSearchEditor::setFocus( BOOL b )
void LLSearchEditor::onClearButtonClick(const LLSD& data)
{
setText(LLStringUtil::null);
+ if (mTextChangedCallback)
+ {
+ mTextChangedCallback(this, getValue());
+ }
mSearchEditor->onCommit(); // force keystroke callback
}