Skip to content

Commit

Permalink
WIP
Browse files Browse the repository at this point in the history
  • Loading branch information
derreisende77 committed Aug 26, 2024
1 parent 7ac6c10 commit d52dc46
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/main/java/mediathek/mainwindow/MediathekGui.java
Original file line number Diff line number Diff line change
Expand Up @@ -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();
});
}

/**
Expand Down

0 comments on commit d52dc46

Please sign in to comment.