File tree Expand file tree Collapse file tree 2 files changed +8
-7
lines changed
src/main/java/mediathek/gui Expand file tree Collapse file tree 2 files changed +8
-7
lines changed Original file line number Diff line number Diff line change 1
1
package mediathek .gui .actions ;
2
2
3
- import javafx .application .Platform ;
4
3
import mediathek .mainwindow .MediathekGui ;
5
4
import mediathek .tool .SVGIconUtilities ;
6
5
@@ -19,6 +18,6 @@ public ManageBookmarkAction(MediathekGui mediathekGui) {
19
18
20
19
@ Override
21
20
public void actionPerformed (ActionEvent e ) {
22
- Platform . runLater (() -> mediathekGui .tabFilme .showBookmarkWindow () );
21
+ mediathekGui .tabFilme .showBookmarkWindow ();
23
22
}
24
23
}
Original file line number Diff line number Diff line change @@ -549,11 +549,13 @@ private void bookmarkFilm() {
549
549
* If necessary instantiate and show the bookmark window
550
550
*/
551
551
public void showBookmarkWindow () {
552
- if (bookmarkWindowController .isEmpty ()) {
553
- bookmarkWindowController = Optional .of (new BookmarkWindowController ());
554
- bookmarkWindowController .get ().setPartner (this );
555
- }
556
- bookmarkWindowController .get ().show ();
552
+ Platform .runLater (() -> {
553
+ if (bookmarkWindowController .isEmpty ()) {
554
+ bookmarkWindowController = Optional .of (new BookmarkWindowController ());
555
+ bookmarkWindowController .get ().setPartner (this );
556
+ }
557
+ bookmarkWindowController .get ().show ();
558
+ });
557
559
}
558
560
559
561
public void playerStarten (DatenPset pSet ) {
You can’t perform that action at this time.
0 commit comments