Skip to content

Commit

Permalink
fix: 'Check EPUB Folder' from menu no longer crashes on Windows
Browse files Browse the repository at this point in the history
JS typo caused an error on windows
  • Loading branch information
marisademeglio authored and rdeltour committed Dec 27, 2018
1 parent ff71b2c commit b84e876
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/menu.js
Original file line number Diff line number Diff line change
Expand Up @@ -262,7 +262,7 @@ export default class MenuBuilder {
// insert item into File submenu
defaultTemplate.subMenuFile.submenu.unshift({
label: 'Check EPUB Folder ... ',
click: () => FileDialogHelpers.showEpubFolderBrowseDialog(filepath => store.dispatch(runAce(filepath)))
click: () => FileDialogHelpers.showEpubFolderBrowseDialog(filepath => this.store.dispatch(runAce(filepath)))
});

// insert item into Help submenu
Expand Down

0 comments on commit b84e876

Please sign in to comment.