You did not detail what you tried. In main_menu.xml
, I see
<value type="object" struct-name="app.MenuItem" id="com.mysql.wb.menu.edit.redo">
<link type="object" key="owner" struct-name="app.MenuItem">com.mysql.wb.menu.edit</link>
<value type="string" key="caption">Redo</value>
<value type="string" key="name">redo</value>
<value type="string" key="command">builtin:redo</value>
<value type="string" key="itemType">action</value>
<value type="string" key="shortcut">Modifier+Y</value>
<value type="string" key="platform">windows,linux</value>
</value>
<value type="object" struct-name="app.MenuItem" id="com.mysql.wb.menu.edit.redomac">
<link type="object" key="owner" struct-name="app.MenuItem">com.mysql.wb.menu.edit</link>
<value type="string" key="caption">Redo</value>
<value type="string" key="name">redo</value>
<value type="string" key="command">builtin:redo</value>
<value type="string" key="itemType">action</value>
<value type="string" key="shortcut">Modifier+Shift+Z</value>
<value type="string" key="platform">macosx</value>
</value>
Those two chunks differ in more than one place, so I would not change the platform
value. Changing the line
<value type="string" key="shortcut">Modifier+Y</value>
to
<value type="string" key="shortcut">Modifier+Shift+Z</value>
may seem to work. However, there is an existing definition with that binding later in the file (which would conflict if you just made that change):
<value type="object" struct-name="app.MenuItem" id="com.mysql.wb.menu.database.sync_mysql_script">
<link type="object" key="owner" struct-name="app.MenuItem">com.mysql.wb.menu.database</link>
<value type="string" key="caption">Synchronize Model...</value>
<value type="string" key="name">synchronization</value>
<value type="string" key="command">plugin:db.mysql.plugin.sync.db</value>
<value type="string" key="itemType">action</value>
<value type="string" key="shortcut">Modifier+Shift+Z</value>
<value type="string" key="platform">windows,linux</value>
<value type="string" key="context">*model</value>
</value>
and perhaps you overlooked that.