Skip to content

Commit

Permalink
Update main.js
Browse files Browse the repository at this point in the history
  • Loading branch information
fohristiwhirl committed Jun 22, 2019
1 parent a8c9dfe commit a95d335
Showing 1 changed file with 13 additions and 13 deletions.
26 changes: 13 additions & 13 deletions main.js
Original file line number Diff line number Diff line change
Expand Up @@ -131,19 +131,6 @@ function menu_build() {
}
}
},
{
label: "Save PGN...",
accelerator: "CommandOrControl+S",
click: () => {
let file = electron.dialog.showSaveDialog();
if (file && file.length > 0) {
windows.send("main-window", "call", {
fn: "save",
args: [file]
});
}
}
},
{
label: "Validate PGN...",
click: () => {
Expand All @@ -158,6 +145,19 @@ function menu_build() {
}
}
},
{
label: "Save this game...",
accelerator: "CommandOrControl+S",
click: () => {
let file = electron.dialog.showSaveDialog();
if (file && file.length > 0) {
windows.send("main-window", "call", {
fn: "save",
args: [file]
});
}
}
},
{
type: "separator"
},
Expand Down

0 comments on commit a95d335

Please sign in to comment.