mirror of
https://github.com/Eugeny/tabby
synced 2024-11-15 01:17:14 +00:00
fixed #585
This commit is contained in:
parent
524550f6e3
commit
ca71ec24f8
1 changed files with 4 additions and 1 deletions
|
@ -250,7 +250,10 @@ export class Window {
|
|||
this.window.moveTop()
|
||||
})
|
||||
|
||||
ipcMain.on('window-close', () => {
|
||||
ipcMain.on('window-close', event => {
|
||||
if (event.sender !== this.window.webContents) {
|
||||
return
|
||||
}
|
||||
this.closing = true
|
||||
this.window.close()
|
||||
})
|
||||
|
|
Loading…
Reference in a new issue