summaryrefslogtreecommitdiff
path: root/indra/llui/llsearcheditor.cpp
diff options
context:
space:
mode:
authorJames Cook <james@lindenlab.com>2009-12-07 13:39:12 -0800
committerJames Cook <james@lindenlab.com>2009-12-07 13:39:12 -0800
commit13c998c34ac2c1f134b4c6998413753f94e1a002 (patch)
tree9862c8bea90f6c4d6a74e2bfee287cd078232485 /indra/llui/llsearcheditor.cpp
parentf22d9cfdae437ddd21491fc7d6a59668203bd172 (diff)
parentaa2cdcfeef7a2259251abcfc11ab5d1107af2ea3 (diff)
merge
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);