summaryrefslogtreecommitdiff
path: root/indra/llui/lltextbase.cpp
diff options
context:
space:
mode:
authorTofu Linden <tofu.linden@lindenlab.com>2010-04-02 09:51:12 +0100
committerTofu Linden <tofu.linden@lindenlab.com>2010-04-02 09:51:12 +0100
commit9c715190ef9497212834452dbfd3c28856e7b044 (patch)
treeb9e479e36ce72ce80bc026749ae5f8328e520004 /indra/llui/lltextbase.cpp
parentb1ae22c3eb71767219ebb96ec80011e10bbfabbe (diff)
parent18d9efff12ef8b59c648a801fe2c5c7e0bc8fde4 (diff)
merge from viewer-trunk
Diffstat (limited to 'indra/llui/lltextbase.cpp')
-rw-r--r--indra/llui/lltextbase.cpp7
1 files changed, 7 insertions, 0 deletions
diff --git a/indra/llui/lltextbase.cpp b/indra/llui/lltextbase.cpp
index 56d7a63832..e08026eaf4 100644
--- a/indra/llui/lltextbase.cpp
+++ b/indra/llui/lltextbase.cpp
@@ -1059,6 +1059,13 @@ void LLTextBase::setValue(const LLSD& value )
}
//virtual
+BOOL LLTextBase::canDeselect() const
+{
+ return hasSelection();
+}
+
+
+//virtual
void LLTextBase::deselect()
{
mSelectionStart = 0;