Skip to content

Commit 76157df

Browse files
committed
Fix - Error on re-opening in mac
1 parent e87765a commit 76157df

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

public/electron.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ function bindIpc() {
7272
// Makes the app start receiving the mouse interactions again
7373
function disableDetachedMode() {
7474
app.dock && app.dock.setBadge('');
75-
mainWindow.setIgnoreMouseEvents(false);
75+
mainWindow && mainWindow.setIgnoreMouseEvents(false);
7676
}
7777

7878
// This method will be called when Electron has finished

0 commit comments

Comments
 (0)