Skip to content
Snippets Groups Projects
Commit 8cf968e0 authored by Vadim Savchuk's avatar Vadim Savchuk
Browse files

EXT-7903 FIXED Disabled "Edit" context menu option for multi selection in the Outfit Editor.

Trivial fix, not reviewed.

--HG--
branch : product-engine
parent 89fb6d2d
No related branches found
No related tags found
No related merge requests found
......@@ -208,7 +208,7 @@ class CofClothingContextMenu : public CofContextMenu
}
else if ("edit" == param)
{
return gAgentWearables.isWearableModifiable(selected_id);
return mUUIDs.size() == 1 && gAgentWearables.isWearableModifiable(selected_id);
}
return true;
}
......@@ -264,7 +264,7 @@ class CofBodyPartContextMenu : public CofContextMenu
if ("edit" == param)
{
return gAgentWearables.isWearableModifiable(selected_id);
return mUUIDs.size() == 1 && gAgentWearables.isWearableModifiable(selected_id);
}
return true;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment