Fixed normal bug EXT-4915 (Duplicated "Buy" item in object context menu).
- Bug was caused by making "Take" menu item from object context menu consistent with the one from Build->Object menu where it was replaced by "Buy" when it was needed. But in object menu we already have "Buy" option at the bottom of the list so we don't need to hide "Take" and show "Buy" instead. Removed appearance of "Buy" instead of "Take" and made "Take" item's behaviour consistent with "Take" from object inspector gear menu. Reviewed by Vadim Savchuk at https://codereview.productengine.com/secondlife/r/227/ --HG-- branch : product-enginemeow-7.2.2
parent
3a5ae14b85
commit
91e00620d8
|
|
@ -137,27 +137,14 @@
|
|||
</menu_item_call>
|
||||
</context_menu>
|
||||
<menu_item_separator layout="topleft" />
|
||||
<menu_item_call
|
||||
label="Buy"
|
||||
layout="topleft"
|
||||
name="Pie Object Bye">
|
||||
<menu_item_call.on_click
|
||||
function="Tools.BuyOrTake"/>
|
||||
<menu_item_call.on_visible
|
||||
function="Tools.VisibleBuyObject"/>
|
||||
<menu_item_call.on_enable
|
||||
function="Tools.EnableBuyOrTake"/>
|
||||
</menu_item_call>
|
||||
<menu_item_call
|
||||
label="Take"
|
||||
layout="topleft"
|
||||
name="Pie Object Take">
|
||||
<menu_item_call.on_click
|
||||
function="Tools.BuyOrTake"/>
|
||||
<menu_item_call.on_visible
|
||||
function="Tools.VisibleTakeObject"/>
|
||||
function="Object.Take"/>
|
||||
<menu_item_call.on_enable
|
||||
function="Tools.EnableBuyOrTake"/>
|
||||
function="Object.VisibleTake"/>
|
||||
</menu_item_call>
|
||||
<menu_item_call
|
||||
enabled="false"
|
||||
|
|
|
|||
Loading…
Reference in New Issue