Ver código fonte

Fix swing_ui after query change.

pull/486/head
Chris Smith 7 anos atrás
pai
commit
b73fae1cfe

+ 2
- 1
ui_swing/src/main/java/com/dmdirc/addons/ui_swing/SwingLinkHandler.java Ver arquivo

@@ -77,6 +77,7 @@ public class SwingLinkHandler {
77 77
         final WindowModel container = event.getWindow();
78 78
         container.getConnection().ifPresent(c ->
79 79
                 eventBus.publishAsync(new SwingActiveWindowChangeRequestEvent(Optional.ofNullable(
80
-                        windowFactory.getSwingWindow(c.getQuery(event.getTarget()))))));
80
+                        windowFactory.getSwingWindow(
81
+                                c.getQuery(event.getTarget()).getWindowModel())))));
81 82
     }
82 83
 }

Carregando…
Cancelar
Salvar