From 36f708de17c64191c79a756ab7eedc3badac9828 Mon Sep 17 00:00:00 2001
From: Kent Quirk <q@lindenlab.com>
Date: Sat, 20 Feb 2010 14:41:18 -0500
Subject: [PATCH] EXT-5560 - filter clear button was calling doDelete which had
 many more gyrations than onCommit, and only onCommit was needed

---
 indra/llui/llsearcheditor.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/indra/llui/llsearcheditor.cpp b/indra/llui/llsearcheditor.cpp
index 491eeeab54c..8075575babb 100644
--- a/indra/llui/llsearcheditor.cpp
+++ b/indra/llui/llsearcheditor.cpp
@@ -156,7 +156,7 @@ void LLSearchEditor::setFocus( BOOL b )
 void LLSearchEditor::onClearButtonClick(const LLSD& data)
 {
 	setText(LLStringUtil::null);
-	mSearchEditor->doDelete(); // force keystroke callback
+	mSearchEditor->onCommit(); // force keystroke callback
 }
 
 void LLSearchEditor::handleKeystroke()
-- 
GitLab