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

--HG--
branch : product-engine
meow-7.2.2
Dmitry Zaporozhan 2010-01-27 12:32:03 +02:00
parent d383adfc92
commit 74a362ba1e
2 changed files with 1 additions and 12 deletions

View File

@ -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;
}

View File

@ -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>