summaryrefslogtreecommitdiff
path: root/indra/newview
diff options
context:
space:
mode:
authormaxim_productengine <mnikolenko@productengine.com>2012-08-08 13:31:23 +0300
committermaxim_productengine <mnikolenko@productengine.com>2012-08-08 13:31:23 +0300
commit86a6f5478c91d292f2becfb93e958dabc1d58dc3 (patch)
treedbc40afede0b681ba93060ece07d77a29ec488c9 /indra/newview
parent80171c8d2c5641e61362b5012c9b7adca9caf9de (diff)
MAINT-1121 FIXED Disable "Open" if several calling cards are selected.
Diffstat (limited to 'indra/newview')
-rw-r--r--indra/newview/llinventorybridge.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/indra/newview/llinventorybridge.cpp b/indra/newview/llinventorybridge.cpp
index b86c453d61..f752c37c2e 100644
--- a/indra/newview/llinventorybridge.cpp
+++ b/indra/newview/llinventorybridge.cpp
@@ -4624,6 +4624,10 @@ void LLCallingCardBridge::buildContextMenu(LLMenuGL& menu, U32 flags)
{
disabled_items.push_back(std::string("Share"));
}
+ if ((flags & FIRST_SELECTED_ITEM) == 0)
+ {
+ disabled_items.push_back(std::string("Open"));
+ }
addOpenRightClickMenuOption(items);
items.push_back(std::string("Properties"));