summaryrefslogtreecommitdiff
path: root/indra
diff options
context:
space:
mode:
authorDmitry Zaporozhan <dzaporozhan@productengine.com>2010-02-04 15:44:45 +0200
committerDmitry Zaporozhan <dzaporozhan@productengine.com>2010-02-04 15:44:45 +0200
commit79bcb8dc723d093e92bb5897e42c48e26b0bbf4e (patch)
treebf76265a4fd0eab955f079ff0e5a978517e68156 /indra
parent7453aae13e01bd0b055fed8056de8889e878942e (diff)
Fixed low bug EXT-4951 - Redundant edit box context menu in list items in Panel Picks/Classifieds
--HG-- branch : product-engine
Diffstat (limited to 'indra')
-rw-r--r--indra/llui/lltexteditor.cpp5
-rw-r--r--indra/newview/skins/default/xui/en/panel_pick_list_item.xml1
2 files changed, 5 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;
}
diff --git a/indra/newview/skins/default/xui/en/panel_pick_list_item.xml b/indra/newview/skins/default/xui/en/panel_pick_list_item.xml
index 023b1fc81d..e62c1278f9 100644
--- a/indra/newview/skins/default/xui/en/panel_pick_list_item.xml
+++ b/indra/newview/skins/default/xui/en/panel_pick_list_item.xml
@@ -64,6 +64,7 @@
layout="topleft"
left="103"
name="picture_descr"
+ textbox.mouse_opaque="false"
top_pad="0"
width="178"
word_wrap="true" />