1
1
mirror of https://github.com/Eugeny/tabby.git synced 2024-12-24 19:13:31 +03:00

prevent ctrl-click events (#465)

This commit is contained in:
Eugene Pankov 2018-10-13 13:35:16 +02:00
parent 8f0f1b19df
commit d7db132c76

View File

@ -193,6 +193,8 @@ export class Window {
ipcMain.on('window-set-title', (_event, title) => {
this.window.setTitle(title)
})
this.window.webContents.on('new-window', event => event.preventDefault())
}
private destroy () {