MySQL Forums
Forum List  »  MySQL Workbench

Problem changing shortcut in main_menu.xml
Posted by: ERIK GÖTHE
Date: April 05, 2017 01:25AM

Hello.
I am trying to change the shortcut for execluting the current statement to Control-E, and therefor changed the main_menu.xml file found in C:\Program Files\MySQL\MySQL Workbench 6.3 CE\data.
The problem is that nothing happens. The shortcut remains to be Control-Enter.
What may be the problem?


<value type="object" struct-name="app.MenuItem" id="com.mysql.wb.menu.query.execute_current_statementwin">
<link type="object" key="owner" struct-name="app.MenuItem">com.mysql.wb.menu.query</link>
<value type="string" key="caption">Execute Current Statement</value>
<value type="string" key="name">query.execute_current_statement</value>
<value type="string" key="command">builtin:query.execute_current_statement</value>
<value type="string" key="itemType">action</value>
<value type="string" key="shortcut">Modifier+E</value>
<value type="string" key="platform">windows</value>
</value>

I found another shortcut in the file for Control-E, so I changed that to Control-M so it wouldn't be any duplicates...

Options: ReplyQuote


Subject
Views
Written By
Posted
Problem changing shortcut in main_menu.xml
279
April 05, 2017 01:25AM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.