Browse Source

And another I missed.

pull/96/head
Greg Holmes 9 years ago
parent
commit
3d629ef73d

+ 1
- 1
ui_swing/src/com/dmdirc/addons/ui_swing/framemanager/tree/Tree.java View File

@@ -181,7 +181,7 @@ public class Tree extends JTree implements MouseMotionListener,
181 181
             final TreeViewNode node = getNodeForLocation(e.getX(), e.getY());
182 182
             if (node != null) {
183 183
                 eventBus.publishAsync(new SwingActiveWindowChangeRequestEvent(
184
-                        Optional.ofNullable((TextFrame) ((TreeViewNode) new TreePath(node.getPath())
184
+                        Optional.ofNullable(((TreeViewNode) new TreePath(node.getPath())
185 185
                                 .getLastPathComponent()).getWindow())));
186 186
             }
187 187
         }

Loading…
Cancel
Save