summaryrefslogtreecommitdiff
path: root/indra/llui/lltextbase.cpp
diff options
context:
space:
mode:
authorRichard Nelson <none@none>2010-04-01 15:46:34 -0700
committerRichard Nelson <none@none>2010-04-01 15:46:34 -0700
commit51e1c6b78a36cb968b9b3ea3d37a14dbe2609e8a (patch)
tree8c92a1f3a47c9fe66d1fe7696f4fbd8aea1a52ea /indra/llui/lltextbase.cpp
parentca8da832bdb1532c47208ea5e1b6ef50a40c3677 (diff)
parent6cc65f9e5f0aba9242295d955eb31c4938b093e1 (diff)
merge
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;