Merge pull request #3080 from purejava/fix-3079

Bring up the main window from the tray on pressing "Show" on the tray…
This commit is contained in:
Armin Schrenk
2023-09-01 16:06:15 +02:00
committed by GitHub

View File

@@ -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();