summaryrefslogtreecommitdiff
path: root/indra/newview
diff options
context:
space:
mode:
authorYuri Chebotarev <ychebotarev@productengine.com>2010-05-27 20:20:09 +0300
committerYuri Chebotarev <ychebotarev@productengine.com>2010-05-27 20:20:09 +0300
commit580dc21ecf3db8d1aa6da8caffa80015aed84b50 (patch)
tree0e985bf1e26cb113d360afd920dc4fcae37d5d8b /indra/newview
parenta83ec740e4856b3575b66e51cfe83470928ad7e5 (diff)
EXT-7389 FIX disable menu item if more then one person is selected.
reviewed by Vadim Savchuk at https://codereview.productengine.com/secondlife/r/447/ --HG-- branch : product-engine
Diffstat (limited to 'indra/newview')
-rw-r--r--indra/newview/llpanelpeoplemenus.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/indra/newview/llpanelpeoplemenus.cpp b/indra/newview/llpanelpeoplemenus.cpp
index dc1c422ff0..93be0bda9e 100644
--- a/indra/newview/llpanelpeoplemenus.cpp
+++ b/indra/newview/llpanelpeoplemenus.cpp
@@ -115,6 +115,12 @@ bool NearbyMenu::enableContextMenuItem(const LLSD& userdata)
// - there are selected people
// - and there are no friends among selection yet.
+ //EXT-7389 - disable for more than 1
+ if(mUUIDs.size() > 1)
+ {
+ return false;
+ }
+
bool result = (mUUIDs.size() > 0);
uuid_vec_t::const_iterator