Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions src/main/app.ts
Original file line number Diff line number Diff line change
Expand Up @@ -525,11 +525,11 @@
await this.menuWindow.load();

// Make sure that closing the menu window just hides it instead of actually closing it.
this.menuWindow.on('close', (event) => {

Check failure on line 528 in src/main/app.ts

View workflow job for this annotation

GitHub Actions / ESLint

'event' is defined but never used
if (!this.isQuitting) {
event.preventDefault();
this.menuWindow.hide();
}
// if (!this.isQuitting) {
// event.preventDefault();
// this.menuWindow.hide();
// }
});
}

Expand Down
Loading