summaryrefslogtreecommitdiff
path: root/indra/llui/lltexteditor.cpp
diff options
context:
space:
mode:
authorEli Linden <eli@lindenlab.com>2010-04-19 12:53:59 -0700
committerEli Linden <eli@lindenlab.com>2010-04-19 12:53:59 -0700
commit5f80e5681c7a0e9f0fc5889ede435c79358fc639 (patch)
treeee9e5826ee220a971aa7990ef83a64644bf644d9 /indra/llui/lltexteditor.cpp
parenta1a43f7942f68e75eaadaa9c5280ac196c4ed6a7 (diff)
parent7f0a7789903809d489e9f85575be18c88df1ea98 (diff)
Merge
Diffstat (limited to 'indra/llui/lltexteditor.cpp')
-rw-r--r--indra/llui/lltexteditor.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/indra/llui/lltexteditor.cpp b/indra/llui/lltexteditor.cpp
index a1cae4bb98..4fd62045e8 100644
--- a/indra/llui/lltexteditor.cpp
+++ b/indra/llui/lltexteditor.cpp
@@ -713,7 +713,8 @@ BOOL LLTextEditor::handleRightMouseDown(S32 x, S32 y, MASK mask)
{
setFocus(TRUE);
}
- if (!LLTextBase::handleRightMouseDown(x, y, mask))
+ // Prefer editor menu if it has selection. See EXT-6806.
+ if (hasSelection() || !LLTextBase::handleRightMouseDown(x, y, mask))
{
if(getShowContextMenu())
{