From bb1095eb78f23babe8097a87522969500316c3d5 Mon Sep 17 00:00:00 2001 From: Ralph Plawetzki Date: Sat, 19 Aug 2023 19:14:46 +0200 Subject: [PATCH] Bring up the main window from the tray on pressing "Show" on the tray menu for Windows Fixes #3079 --- .../java/org/cryptomator/ui/mainwindow/MainWindowComponent.java | 1 + 1 file changed, 1 insertion(+) diff --git a/src/main/java/org/cryptomator/ui/mainwindow/MainWindowComponent.java b/src/main/java/org/cryptomator/ui/mainwindow/MainWindowComponent.java index 07710e688..40885b387 100644 --- a/src/main/java/org/cryptomator/ui/mainwindow/MainWindowComponent.java +++ b/src/main/java/org/cryptomator/ui/mainwindow/MainWindowComponent.java @@ -26,6 +26,7 @@ public interface MainWindowComponent { default Stage showMainWindow() { Stage stage = window(); stage.setScene(scene().get()); + stage.setIconified(false); stage.show(); stage.toFront(); stage.requestFocus();