don't prevent closing main window during auto-type

This commit is contained in:
antelle 2021-04-28 08:25:18 +02:00
parent ce3ff8c3d8
commit fdb492c572
No known key found for this signature in database
GPG Key ID: 63C9777AAB7C563C
1 changed files with 0 additions and 5 deletions

View File

@ -32,7 +32,6 @@ class AutoTypeSelectView extends View {
constructor(model) {
super(model);
this.initScroll();
this.listenTo(Events, 'main-window-will-close', this.mainWindowWillClose);
this.listenTo(Events, 'keypress:auto-type', this.keyPressed);
this.setupKeys();
}
@ -216,10 +215,6 @@ class AutoTypeSelectView extends View {
this.showItemOptions(itemEl, e);
}
mainWindowWillClose(e) {
e.preventDefault();
}
showItemOptions(itemEl, event) {
if (event) {
event.stopImmediatePropagation();