SL-14842 Clear history button was in wrong menu

master
Andrey Kleshchev 2021-04-21 01:22:06 +03:00
parent d298c9983b
commit bf5ae51d2e
2 changed files with 11 additions and 11 deletions

View File

@ -28,15 +28,4 @@
function="TeleportHistory.GearMenu.Enable"
parameter="collapse_all" />
</menu_item_call>
<menu_item_separator layout="topleft" />
<menu_item_call
label="Clear Teleport History"
name="Clear Teleport History">
<menu_item_call.on_click
function="TeleportHistory.GearMenu.Action"
parameter="clear_history" />
<on_enable
function="TeleportHistory.GearMenu.Enable"
parameter="clear_history" />
</menu_item_call>
</toggleable_menu>

View File

@ -49,4 +49,15 @@
function="TeleportHistory.GearMenu.Enable"
parameter="copy_slurl" />
</menu_item_call>
<menu_item_separator layout="topleft" />
<menu_item_call
label="Clear Teleport History"
name="Clear Teleport History">
<menu_item_call.on_click
function="TeleportHistory.GearMenu.Action"
parameter="clear_history" />
<on_enable
function="TeleportHistory.GearMenu.Enable"
parameter="clear_history" />
</menu_item_call>
</toggleable_menu>