Skip to content

Commit

Permalink
- don't interfere with dialog position
Browse files Browse the repository at this point in the history
  • Loading branch information
derreisende77 committed Aug 25, 2024
1 parent 7114a57 commit 80b40fb
Showing 1 changed file with 1 addition and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -683,9 +683,7 @@ private void createDownload(DatenFilm film) {

SwingUtilities.invokeLater(() -> { // swing dialogs must be called from EDT!!
final var pSet = Daten.listePset.getListeSpeichern().getFirst();
final var ui = MediathekGui.ui();
var dlg = new DialogAddDownload(ui, film, pSet, Optional.empty());
dlg.setLocationRelativeTo(ui);
var dlg = new DialogAddDownload(MediathekGui.ui(), film, pSet, Optional.empty());
dlg.setVisible(true);
showStage();
});
Expand Down

0 comments on commit 80b40fb

Please sign in to comment.