summaryrefslogtreecommitdiff
path: root/indra
diff options
context:
space:
mode:
authorVadim Savchuk <vsavchuk@productengine.com>2010-06-17 21:58:37 +0300
committerVadim Savchuk <vsavchuk@productengine.com>2010-06-17 21:58:37 +0300
commit8cf968e00eab5ca3f81be1973cb6f52d34cc1f83 (patch)
tree8e5a66260a855297225bcddae5269ed21c379c18 /indra
parent89fb6d2ddb70fd179cddc5485ab1d2757aaf9000 (diff)
EXT-7903 FIXED Disabled "Edit" context menu option for multi selection in the Outfit Editor.
Trivial fix, not reviewed. --HG-- branch : product-engine
Diffstat (limited to 'indra')
-rw-r--r--indra/newview/llcofwearables.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/indra/newview/llcofwearables.cpp b/indra/newview/llcofwearables.cpp
index 46d2e0a5db..aa8cc01f7d 100644
--- a/indra/newview/llcofwearables.cpp
+++ b/indra/newview/llcofwearables.cpp
@@ -208,7 +208,7 @@ protected:
}
else if ("edit" == param)
{
- return gAgentWearables.isWearableModifiable(selected_id);
+ return mUUIDs.size() == 1 && gAgentWearables.isWearableModifiable(selected_id);
}
return true;
}
@@ -264,7 +264,7 @@ protected:
if ("edit" == param)
{
- return gAgentWearables.isWearableModifiable(selected_id);
+ return mUUIDs.size() == 1 && gAgentWearables.isWearableModifiable(selected_id);
}
return true;