summaryrefslogtreecommitdiff
path: root/indra/llui/lltexteditor.cpp
diff options
context:
space:
mode:
authorMnikolenko ProductEngine <mnikolenko@productengine.com>2014-12-09 11:46:03 +0200
committerMnikolenko ProductEngine <mnikolenko@productengine.com>2014-12-09 11:46:03 +0200
commit2801b7392a7fb92726703a0864643ca35123c4a3 (patch)
treef1088d8572e12d5677687e8b68196688649ce8f7 /indra/llui/lltexteditor.cpp
parentc3e18bc5378411089bbf76905febd73573a1891f (diff)
MAINT-3648 FIXED Allow opening URLs when any text is selected.
Diffstat (limited to 'indra/llui/lltexteditor.cpp')
-rwxr-xr-xindra/llui/lltexteditor.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/indra/llui/lltexteditor.cpp b/indra/llui/lltexteditor.cpp
index cf5fdef539..e8ff675d4f 100755
--- a/indra/llui/lltexteditor.cpp
+++ b/indra/llui/lltexteditor.cpp
@@ -814,7 +814,7 @@ BOOL LLTextEditor::handleMouseUp(S32 x, S32 y, MASK mask)
BOOL handled = FALSE;
// if I'm not currently selecting text
- if (!(hasSelection() && hasMouseCapture()))
+ if (!(mIsSelecting && hasMouseCapture()))
{
// let text segments handle mouse event
handled = LLTextBase::handleMouseUp(x, y, mask);