Skip to content
Snippets Groups Projects
Commit c21c192d authored by Tofu Linden's avatar Tofu Linden
Browse files

EXT-7348 Can't open Advanced Menu in Linux Client

Added a new, preferred shortcut for Show Advanced Menu, that isn't eaten by the desktop on Linux.  The old shortcut also works.
parent f9f5e140
Branches
Tags
No related merge requests found
...@@ -927,7 +927,7 @@ ...@@ -927,7 +927,7 @@
<menu_item_check <menu_item_check
label="Show Advanced Menu" label="Show Advanced Menu"
name="Show Advanced Menu" name="Show Advanced Menu"
shortcut="control|alt|D"> shortcut="control|alt|shift|D">
<on_check <on_check
function="CheckControl" function="CheckControl"
parameter="UseDebugMenus" /> parameter="UseDebugMenus" />
...@@ -1477,6 +1477,18 @@ ...@@ -1477,6 +1477,18 @@
<menu_item_call.on_click <menu_item_call.on_click
function="View.DefaultUISize" /> function="View.DefaultUISize" />
</menu_item_call> </menu_item_call>
<!-- This second, alternative shortcut for Show Advanced Menu is for backward compatibility. The main shortcut has been changed so it's Linux-friendly, where the old shortcut is typically eaten by the window manager. -->
<menu_item_check
label="Show Advanced Menu - legacy shortcut"
name="Show Advanced Menu - legacy shortcut"
shortcut="control|alt|D">
<on_check
function="CheckControl"
parameter="UseDebugMenus" />
<on_click
function="ToggleControl"
parameter="UseDebugMenus" />
</menu_item_check>
<menu_item_separator/> <menu_item_separator/>
<menu_item_check <menu_item_check
label="Always Run" label="Always Run"
...@@ -1652,7 +1664,6 @@ ...@@ -1652,7 +1664,6 @@
function="ToggleControl" function="ToggleControl"
parameter="QAMode" /> parameter="QAMode" />
</menu_item_check> </menu_item_check>
</menu> </menu>
<menu <menu
create_jump_keys="true" create_jump_keys="true"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment