Skip to content

Commit

Permalink
fix: quit app
Browse files Browse the repository at this point in the history
  • Loading branch information
VladimirPal committed Oct 31, 2018
1 parent 5c250ee commit 1ef898c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/main/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -470,7 +470,7 @@ ipcMain.on('load-issue-window', (event, url) => {
issueWindow.on('close', (cEv) => {
console.log('close', cEv);
console.log('shouldQuit', shouldQuit);
if (!shouldQuit) {
if (process.platform !== 'darwin' || !shouldQuit) {
cEv.preventDefault();
issueWindow.webContents.send('hideForm');
}
Expand Down

0 comments on commit 1ef898c

Please sign in to comment.