fix #327: auto-type auto-selected entry after unlock

This commit is contained in:
antelle 2016-08-24 19:19:59 +03:00
parent 4dfcc89988
commit 06fb55c6d3
1 changed files with 3 additions and 1 deletions

View File

@ -181,7 +181,9 @@ var AutoType = {
processEventWithFilter(evt) {
let entries = evt.filter.getEntries();
if (entries.length === 1) {
this.runAndHandleResult(entries.at(0));
this.hideWindow(() => {
this.runAndHandleResult(entries.at(0));
});
return;
}
this.focusMainWindow();