fix #1296: search in auto-type

This commit is contained in:
antelle 2019-10-11 20:26:14 +02:00
parent 320bc0fe06
commit 3eca440e0c
3 changed files with 6 additions and 2 deletions

View File

@ -63,7 +63,7 @@ class KeyHandler {
const keyShortcuts = this.shortcuts[code];
if (keyShortcuts && keyShortcuts.length) {
for (const sh of keyShortcuts) {
if (this.modal && (sh.modal !== this.modal || sh.modal === '*')) {
if (this.modal && (sh.modal !== this.modal && sh.modal !== '*')) {
e.stopPropagation();
continue;
}

View File

@ -70,7 +70,10 @@ class OpenView extends View {
KeyHandler.setModal('open');
this.once('remove', () => {
this.passwordInput.reset();
KeyHandler.setModal(null);
if (KeyHandler.modal !== 'auto-type') {
// TODO: refactor this
KeyHandler.setModal(null);
}
});
}

View File

@ -2,6 +2,7 @@ Release notes
-------------
##### v1.11.8 (2019-10-10)
`-` fix #1292: macOS app notarization
`-` fix #1296: search in auto-type
##### v1.11.7 (2019-10-08)
`-` fix #1289: crash on Auto sorting mode