summaryrefslogtreecommitdiff
path: root/indra/llui/llsearcheditor.cpp
diff options
context:
space:
mode:
authorKent Quirk <q@lindenlab.com>2010-02-20 15:04:21 -0500
committerKent Quirk <q@lindenlab.com>2010-02-20 15:04:21 -0500
commit64530c24c85b0c3f177c07ee5342d08b8822adc6 (patch)
tree9a0cfae808c5ff4f4ce89b09b0a445f345398193 /indra/llui/llsearcheditor.cpp
parent1675dc02b5b4ae236e1e03157753eadf7ac341c3 (diff)
parent36f708de17c64191c79a756ab7eedc3badac9828 (diff)
merge latest tweaks to viewer-hotfix; resolved conflict in llsearcheditor in favor of the one that does less processing
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()