diff options
Diffstat (limited to 'indra/llui/llsearcheditor.cpp')
-rw-r--r-- | indra/llui/llsearcheditor.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/indra/llui/llsearcheditor.cpp b/indra/llui/llsearcheditor.cpp index e6c5e3f334..8075575bab 100644 --- a/indra/llui/llsearcheditor.cpp +++ b/indra/llui/llsearcheditor.cpp @@ -155,8 +155,8 @@ void LLSearchEditor::setFocus( BOOL b ) void LLSearchEditor::onClearButtonClick(const LLSD& data) { - mSearchEditor->selectAll(); - mSearchEditor->doDelete(); // force keystroke callback + setText(LLStringUtil::null); + mSearchEditor->onCommit(); // force keystroke callback } void LLSearchEditor::handleKeystroke() |