Skip to content
Snippets Groups Projects
Commit 74a362ba authored by Dmitry Zaporozhan's avatar Dmitry Zaporozhan
Browse files

Fixed low bug EXT-4375 - Gestures floater Gear menu: menuitem 'Inspect' duplicates menuitem 'Edit'.

--HG--
branch : product-engine
parent d383adfc
No related branches found
No related tags found
No related merge requests found
...@@ -401,8 +401,7 @@ bool LLFloaterGesture::isActionEnabled(const LLSD& command) ...@@ -401,8 +401,7 @@ bool LLFloaterGesture::isActionEnabled(const LLSD& command)
} }
return false; return false;
} }
else if("copy_uuid" == command_name || "edit_gesture" == command_name else if("copy_uuid" == command_name || "edit_gesture" == command_name)
|| "inspect" == command_name)
{ {
return mGestureList->getAllSelected().size() == 1; return mGestureList->getAllSelected().size() == 1;
} }
......
...@@ -62,14 +62,4 @@ ...@@ -62,14 +62,4 @@
function="Gesture.EnableAction" function="Gesture.EnableAction"
parameter="edit_gesture" /> parameter="edit_gesture" />
</menu_item_call> </menu_item_call>
<menu_item_call
label="Inspect"
layout="topleft"
name="inspect">
<on_click
function="Gesture.Action.ShowPreview" />
<on_enable
function="Gesture.EnableAction"
parameter="inspect" />
</menu_item_call>
</menu> </menu>
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