summaryrefslogtreecommitdiff
path: root/indra/newview/skins/default/xui
diff options
context:
space:
mode:
authorJonathan Yap <jhwelch@gmail.com>2014-12-10 11:09:28 -0500
committerJonathan Yap <jhwelch@gmail.com>2014-12-10 11:09:28 -0500
commit0db67883470dc3e4381672bfbb40f3ef920a4a01 (patch)
tree1e934597c8e97711f86844158088cb797e269614 /indra/newview/skins/default/xui
parent68413474c4479eee9bdbeb34ea131475ba1d646e (diff)
STORM-2091 "Empty Trash"/"Empty Lost and Found" menu item is active even if empty
Diffstat (limited to 'indra/newview/skins/default/xui')
-rw-r--r--indra/newview/skins/default/xui/en/menu_inventory_gear_default.xml6
1 files changed, 6 insertions, 0 deletions
diff --git a/indra/newview/skins/default/xui/en/menu_inventory_gear_default.xml b/indra/newview/skins/default/xui/en/menu_inventory_gear_default.xml
index 06d0b849a3..bccda8a247 100644
--- a/indra/newview/skins/default/xui/en/menu_inventory_gear_default.xml
+++ b/indra/newview/skins/default/xui/en/menu_inventory_gear_default.xml
@@ -95,6 +95,9 @@
<on_click
function="Inventory.GearDefault.Custom.Action"
parameter="empty_lostnfound" />
+ <on_enable
+ function="Inventory.GearDefault.Enable"
+ parameter="not_empty" />
</menu_item_call>
<menu_item_separator
layout="topleft" />
@@ -152,5 +155,8 @@
<on_click
function="Inventory.GearDefault.Custom.Action"
parameter="empty_trash" />
+ <on_enable
+ function="Inventory.GearDefault.Enable"
+ parameter="not_empty" />
</menu_item_call>
</toggleable_menu>