unminimize existing app window when second instance is launched

This commit is contained in:
Craig Raw 2024-04-15 12:40:17 +02:00
parent 646b8b0e65
commit 5a0df265bc

View file

@ -923,6 +923,7 @@ public class AppServices {
} }
if(openWindow instanceof Stage) { if(openWindow instanceof Stage) {
((Stage)openWindow).setIconified(false);
((Stage)openWindow).setAlwaysOnTop(true); ((Stage)openWindow).setAlwaysOnTop(true);
((Stage)openWindow).setAlwaysOnTop(false); ((Stage)openWindow).setAlwaysOnTop(false);
} }