summaryrefslogtreecommitdiff
path: root/indra/llui
diff options
context:
space:
mode:
authorAlexander Gavriliuk <alexandrgproductengine@lindenlab.com>2023-08-29 13:12:09 +0200
committerGuru <alexandrgproductengine@lindenlab.com>2023-08-29 13:58:47 +0200
commit031032fb892560a0f5fa1a996aea77f593f54704 (patch)
tree4357d4f730a3adec8ac5a748ab7f773a53149fd3 /indra/llui
parent0cc9a2d8fd54ea5ed906597f2f922a85265bdd03 (diff)
SL-20211 EmojiPicker - The search field should be the same as other floaters
Diffstat (limited to 'indra/llui')
-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
}