summaryrefslogtreecommitdiff
path: root/indra/llui/llsearcheditor.cpp
diff options
context:
space:
mode:
authorTofu Linden <tofu.linden@lindenlab.com>2010-02-20 21:35:51 +0000
committerTofu Linden <tofu.linden@lindenlab.com>2010-02-20 21:35:51 +0000
commitea8c0d2d7113376efe32e1d9b71c4b03b2ad803f (patch)
treefda3699c0e0cab985e4fa376ef70613165070dbc /indra/llui/llsearcheditor.cpp
parentca12b3d971db20559cb242417dc6c3f64d63c1d6 (diff)
parent64530c24c85b0c3f177c07ee5342d08b8822adc6 (diff)
viewer2 merge.
Diffstat (limited to 'indra/llui/llsearcheditor.cpp')
-rw-r--r--indra/llui/llsearcheditor.cpp4
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()