EXT-8094 FIXED Avoided resizing object menu after menu was shown.

Replaced controlling of menu item visibility with controlling of enabled state.

reviewed by Vadim Savchuk at https://codereview.productengine.com/secondlife/r/669/

--HG--
branch : product-engine
meow-7.2.2
Alexei Arabadji 2010-06-30 18:43:13 +03:00
parent 0e937f5f48
commit b023d43ad5
1 changed files with 4 additions and 4 deletions

View File

@ -18,7 +18,7 @@
name="Edit...">
<menu_item_call.on_click
function="Object.Edit" />
<menu_item_call.on_visible
<menu_item_call.on_enable
function="EnableEdit"/>
</menu_item_call>
<menu_item_call
@ -26,7 +26,7 @@
name="Build">
<menu_item_call.on_click
function="Object.Build" />
<menu_item_call.on_visible
<menu_item_call.on_enable
function="EnableEdit"/>
</menu_item_call>
<menu_item_call
@ -44,7 +44,7 @@
name="Object Sit">
<menu_item_call.on_click
function="Object.SitOrStand" />
<menu_item_call.on_visible
<menu_item_call.on_enable
function="Object.SitVisible" />
<menu_item_call.on_enable
function="Object.EnableSitOrStand"
@ -56,7 +56,7 @@
name="Object Stand Up">
<menu_item_call.on_click
function="Object.SitOrStand" />
<menu_item_call.on_visible
<menu_item_call.on_enable
function="Object.StandUpVisible" />
<menu_item_call.on_enable
function="Object.EnableSitOrStand"