summaryrefslogtreecommitdiff
path: root/indra/llui/llsearcheditor.cpp
diff options
context:
space:
mode:
authorAndrey Lihatskiy <alihatskiy@productengine.com>2024-03-01 18:02:48 +0200
committerAndrey Lihatskiy <alihatskiy@productengine.com>2024-03-01 18:02:48 +0200
commitfaf69f407fa95d9dc19f6d737f606e18ab32d052 (patch)
treec19376fa42061e5eee4e55d55cb8cb0a48e26fda /indra/llui/llsearcheditor.cpp
parent9f0faf5c892bba9703c713a29202a8ac48bfdf8b (diff)
parent701d1a33bb8227aa55a71f48caeb30a453e77ee0 (diff)
Merge branch 'main' into marchcat/yz-merge
# Conflicts: # indra/newview/llinventorygallery.cpp
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 7a88ecc76f..8bf135f10c 100644
--- a/indra/llui/llsearcheditor.cpp
+++ b/indra/llui/llsearcheditor.cpp
@@ -186,6 +186,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
}