diff options
-rw-r--r-- | src/stores/AppStore.js | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/stores/AppStore.js b/src/stores/AppStore.js index 6125a7cff..8c55a350d 100644 --- a/src/stores/AppStore.js +++ b/src/stores/AppStore.js | |||
@@ -163,6 +163,11 @@ export default class AppStore extends Store { | |||
163 | }); | 163 | }); |
164 | 164 | ||
165 | this.actions.service.setActive({ serviceId }); | 165 | this.actions.service.setActive({ serviceId }); |
166 | |||
167 | if (!isMac) { | ||
168 | const mainWindow = remote.getCurrentWindow(); | ||
169 | mainWindow.restore(); | ||
170 | } | ||
166 | } | 171 | } |
167 | }; | 172 | }; |
168 | } | 173 | } |