diff options
author | Vadim Savchuk <vsavchuk@productengine.com> | 2010-06-17 21:58:37 +0300 |
---|---|---|
committer | Vadim Savchuk <vsavchuk@productengine.com> | 2010-06-17 21:58:37 +0300 |
commit | 8cf968e00eab5ca3f81be1973cb6f52d34cc1f83 (patch) | |
tree | 8e5a66260a855297225bcddae5269ed21c379c18 /indra | |
parent | 89fb6d2ddb70fd179cddc5485ab1d2757aaf9000 (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.cpp | 4 |
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; |