From d52dc4628997ed7b46f39768880dc0e7c9a5b036 Mon Sep 17 00:00:00 2001 From: "Christian F." Date: Mon, 26 Aug 2024 19:42:48 +0200 Subject: [PATCH] WIP --- src/main/java/mediathek/mainwindow/MediathekGui.java | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/main/java/mediathek/mainwindow/MediathekGui.java b/src/main/java/mediathek/mainwindow/MediathekGui.java index e185414fbe..fa5a392c32 100644 --- a/src/main/java/mediathek/mainwindow/MediathekGui.java +++ b/src/main/java/mediathek/mainwindow/MediathekGui.java @@ -909,7 +909,11 @@ protected void handleDownloadFinishedEvent(DownloadFinishedEvent msg) { @Handler private void handleShowSettingsDialogEvent(ShowSettingsDialogEvent evt) { - SwingUtilities.invokeLater(() -> getSettingsDialog().setVisible(true)); + SwingUtilities.invokeLater(() -> { + getSettingsDialog().setVisible(true); + if (!SystemUtils.IS_OS_MAC_OSX) + getSettingsDialog().toFront(); + }); } /**