summaryrefslogtreecommitdiff
path: root/indra/llui/lltextbase.cpp
diff options
context:
space:
mode:
authorRichard Nelson <none@none>2010-04-01 12:52:04 -0700
committerRichard Nelson <none@none>2010-04-01 12:52:04 -0700
commit6cc65f9e5f0aba9242295d955eb31c4938b093e1 (patch)
tree43b41105ab1b95f0d63a85491417247f149a27de /indra/llui/lltextbase.cpp
parent406b595e8c6811c2550340ba316328289d8b856f (diff)
parentdf45c16169bd2be38c53fd39fd87aa7b00bb64c2 (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;