mirror of https://github.com/keeweb/keeweb
fixed window blur during auto-type
parent
2f4a9d450a
commit
1883b527a4
|
@ -27,6 +27,7 @@ const AutoType = {
|
|||
return;
|
||||
}
|
||||
Events.on('auto-type', (e) => this.handleEvent(e));
|
||||
Events.on('main-window-blur', (e) => this.mainWindowBlur(e));
|
||||
},
|
||||
|
||||
handleEvent(e) {
|
||||
|
@ -57,6 +58,12 @@ const AutoType = {
|
|||
}
|
||||
},
|
||||
|
||||
mainWindowBlur() {
|
||||
if (this.selectEntryView) {
|
||||
this.selectEntryView.emit('result', undefined);
|
||||
}
|
||||
},
|
||||
|
||||
runAndHandleResult(result, windowId) {
|
||||
this.run(result, windowId, (err) => {
|
||||
if (err) {
|
||||
|
|
Loading…
Reference in New Issue