summaryrefslogtreecommitdiff
path: root/indra/llui/lltextbase.cpp
diff options
context:
space:
mode:
authorRichard Nelson <none@none>2010-04-01 11:47:21 -0700
committerRichard Nelson <none@none>2010-04-01 11:47:21 -0700
commit7b4046df83e4353bdade8fbc39387a7bbb3f498d (patch)
tree2a33ba96f17375830b9e2931a1ebbdc687380ee3 /indra/llui/lltextbase.cpp
parent2bb03e5edb5572de1ea31c66f439c8cde9cd2197 (diff)
EXT-3531 - Ctrl-P does not work reliably on login
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 5f4b16ec9e..fb8cb1c93b 100644
--- a/indra/llui/lltextbase.cpp
+++ b/indra/llui/lltextbase.cpp
@@ -1048,6 +1048,13 @@ void LLTextBase::setValue(const LLSD& value )
}
//virtual
+BOOL LLTextBase::canDeselect() const
+{
+ return hasSelection();
+}
+
+
+//virtual
void LLTextBase::deselect()
{
mSelectionStart = 0;