diff options
| author | Tofu Linden <tofu.linden@lindenlab.com> | 2010-02-20 21:35:51 +0000 |
|---|---|---|
| committer | Tofu Linden <tofu.linden@lindenlab.com> | 2010-02-20 21:35:51 +0000 |
| commit | ea8c0d2d7113376efe32e1d9b71c4b03b2ad803f (patch) | |
| tree | fda3699c0e0cab985e4fa376ef70613165070dbc /indra/llui/llsearcheditor.cpp | |
| parent | ca12b3d971db20559cb242417dc6c3f64d63c1d6 (diff) | |
| parent | 64530c24c85b0c3f177c07ee5342d08b8822adc6 (diff) | |
viewer2 merge.
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() |
