Skip to content

Commit

Permalink
Merge pull request #4623 from MurzNN/patch-1
Browse files Browse the repository at this point in the history
Fix menu on change keyboard language issue #4345
  • Loading branch information
dbkr committed Sep 7, 2017
2 parents ff8527c + 61d9c1a commit 941f925
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions electron_app/src/vectormenu.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ const {app, shell, Menu} = require('electron');
// Menu template from http://electron.atom.io/docs/api/menu/, edited
const template = [
{
label: 'Edit',
label: '&Edit',
submenu: [
{ role: 'undo' },
{ role: 'redo' },
Expand All @@ -33,7 +33,7 @@ const template = [
],
},
{
label: 'View',
label: '&View',
submenu: [
{ type: 'separator' },
{ role: 'resetzoom' },
Expand All @@ -45,13 +45,15 @@ const template = [
],
},
{
label: '&Window',
role: 'window',
submenu: [
{ role: 'minimize' },
{ role: 'close' },
],
},
{
label: '&Help',
role: 'help',
submenu: [
{
Expand Down Expand Up @@ -122,7 +124,7 @@ if (process.platform === 'darwin') {
];
} else {
template.unshift({
label: 'File',
label: '&File',
submenu: [
// For some reason, 'about' does not seem to work on windows.
/*{
Expand Down

0 comments on commit 941f925

Please sign in to comment.