diff options
author | 2021-04-04 12:37:35 +0200 | |
---|---|---|
committer | 2021-04-04 11:37:35 +0100 | |
commit | cf0c1a29dd1db194b5355572212bbb5bbed65e52 (patch) | |
tree | 247902ddddc7f92670a86c0819e45ff6d54262d8 /src/stores/AppStore.js | |
parent | New Crowdin updates (#1257) (diff) | |
download | ferdium-app-cf0c1a29dd1db194b5355572212bbb5bbed65e52.tar.gz ferdium-app-cf0c1a29dd1db194b5355572212bbb5bbed65e52.tar.zst ferdium-app-cf0c1a29dd1db194b5355572212bbb5bbed65e52.zip |
Closes #896
Diffstat (limited to 'src/stores/AppStore.js')
-rw-r--r-- | src/stores/AppStore.js | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/stores/AppStore.js b/src/stores/AppStore.js index 869cfa9d6..529201df5 100644 --- a/src/stores/AppStore.js +++ b/src/stores/AppStore.js | |||
@@ -333,7 +333,9 @@ export default class AppStore extends Store { | |||
333 | this.actions.service.setActive({ | 333 | this.actions.service.setActive({ |
334 | serviceId, | 334 | serviceId, |
335 | }); | 335 | }); |
336 | mainWindow.show(); | 336 | if (!app.mainWindow.isVisible()) { |
337 | mainWindow.show(); | ||
338 | } | ||
337 | if (app.mainWindow.isMinimized()) { | 339 | if (app.mainWindow.isMinimized()) { |
338 | mainWindow.restore(); | 340 | mainWindow.restore(); |
339 | } | 341 | } |