From 06fb55c6d36b3992710200b6360fbec0954c9eb7 Mon Sep 17 00:00:00 2001 From: antelle Date: Wed, 24 Aug 2016 19:19:59 +0300 Subject: [PATCH] fix #327: auto-type auto-selected entry after unlock --- app/scripts/auto-type/index.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/app/scripts/auto-type/index.js b/app/scripts/auto-type/index.js index 696e650b..3c08629a 100644 --- a/app/scripts/auto-type/index.js +++ b/app/scripts/auto-type/index.js @@ -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();