fix window focus

This commit is contained in:
antelle 2016-08-14 11:09:35 +03:00
parent 285f74d55e
commit e978f2adb8
1 changed files with 1 additions and 1 deletions

View File

@ -157,10 +157,10 @@ var AutoType = {
this.pendingEvent = evt;
this.appModel.files.once('update', this.processPendingEvent, this);
logger.debug('auto-type event delayed');
setTimeout(() => Launcher.showMainWindow(), Timeouts.RedrawInactiveWindow);
} else {
this.processEventWithFilter(evt);
}
setTimeout(() => Launcher.showMainWindow(), Timeouts.RedrawInactiveWindow);
});
},