summaryrefslogtreecommitdiff
path: root/indra/llui/llsearcheditor.cpp
diff options
context:
space:
mode:
authorLoren Shih <seraph@lindenlab.com>2009-12-04 13:44:25 -0500
committerLoren Shih <seraph@lindenlab.com>2009-12-04 13:44:25 -0500
commit92a1ecd5fdfff2490cb563e83baff88fc6120882 (patch)
tree3e80a24f28cc488e6779db737900d1f921d69eae /indra/llui/llsearcheditor.cpp
parent9b89325cc9a02c3305eb32148cc8de7dccf8808b (diff)
EXT-3124 : Add lookup for finding all linked items to an item
Filter string now highlights when doing this search. --HG-- branch : avatar-pipeline
Diffstat (limited to 'indra/llui/llsearcheditor.cpp')
-rw-r--r--indra/llui/llsearcheditor.cpp9
1 files changed, 9 insertions, 0 deletions
diff --git a/indra/llui/llsearcheditor.cpp b/indra/llui/llsearcheditor.cpp
index fad2b7bc99..6fa99df82e 100644
--- a/indra/llui/llsearcheditor.cpp
+++ b/indra/llui/llsearcheditor.cpp
@@ -141,6 +141,15 @@ void LLSearchEditor::clear()
}
}
+//virtual
+void LLSearchEditor::setFocus( BOOL b )
+{
+ if (mSearchEditor)
+ {
+ mSearchEditor->setFocus(b);
+ }
+}
+
void LLSearchEditor::onClearButtonClick(const LLSD& data)
{
setText(LLStringUtil::null);