Skip to content

Commit

Permalink
Merge pull request #69 from baltedewit/fix/close-print-window
Browse files Browse the repository at this point in the history
fix: close print window when main windows is closed
  • Loading branch information
madisvain authored Jul 5, 2020
2 parents 2126d25 + 364fc08 commit 7788081
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/main/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,7 @@ const createWindow = () => {

mainWindow.on('closed', () => {
mainWindow = null;
printerWindow.close();
});

autoUpdater.checkForUpdatesAndNotify();
Expand Down

0 comments on commit 7788081

Please sign in to comment.