summaryrefslogtreecommitdiff
path: root/indra/llui/lltexteditor.cpp
diff options
context:
space:
mode:
authorTofu Linden <tofu.linden@lindenlab.com>2010-02-05 07:35:03 +0000
committerTofu Linden <tofu.linden@lindenlab.com>2010-02-05 07:35:03 +0000
commit197c78fa4bf372d09b315b1bad3cf6649627eb48 (patch)
treed49217ad4a9b10fa907cfbefeba1453042b66f9a /indra/llui/lltexteditor.cpp
parent05e15ccb82541494bf7145652140de187d838cda (diff)
parent367fda833cb5633564c2518f613a00484eb73ec5 (diff)
merge from viewer2 trunk.
Diffstat (limited to 'indra/llui/lltexteditor.cpp')
-rw-r--r--indra/llui/lltexteditor.cpp5
1 files changed, 4 insertions, 1 deletions
diff --git a/indra/llui/lltexteditor.cpp b/indra/llui/lltexteditor.cpp
index 62aeb50011..3fdb48b3ca 100644
--- a/indra/llui/lltexteditor.cpp
+++ b/indra/llui/lltexteditor.cpp
@@ -720,7 +720,10 @@ BOOL LLTextEditor::handleRightMouseDown(S32 x, S32 y, MASK mask)
}
if (!LLTextBase::handleRightMouseDown(x, y, mask))
{
- showContextMenu(x, y);
+ if(getMouseOpaque())
+ {
+ showContextMenu(x, y);
+ }
}
return TRUE;
}