Fixed low bug EXT-4375 - Gestures floater Gear menu: menuitem 'Inspect' duplicates menuitem 'Edit'.
--HG-- branch : product-enginemeow-7.2.2
parent
d383adfc92
commit
74a362ba1e
|
|
@ -401,8 +401,7 @@ bool LLFloaterGesture::isActionEnabled(const LLSD& command)
|
|||
}
|
||||
return false;
|
||||
}
|
||||
else if("copy_uuid" == command_name || "edit_gesture" == command_name
|
||||
|| "inspect" == command_name)
|
||||
else if("copy_uuid" == command_name || "edit_gesture" == command_name)
|
||||
{
|
||||
return mGestureList->getAllSelected().size() == 1;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -62,14 +62,4 @@
|
|||
function="Gesture.EnableAction"
|
||||
parameter="edit_gesture" />
|
||||
</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>
|
||||
|
|
|
|||
Loading…
Reference in New Issue