diff --git a/megamek/src/megamek/client/ui/swing/widget/DetachablePane.java b/megamek/src/megamek/client/ui/swing/widget/DetachablePane.java index c57446608f1..4da9e6630e1 100644 --- a/megamek/src/megamek/client/ui/swing/widget/DetachablePane.java +++ b/megamek/src/megamek/client/ui/swing/widget/DetachablePane.java @@ -135,7 +135,7 @@ public void actionPerformed(ActionEvent e) { this.window = new JFrame(); this.window.addWindowListener(new WindowAdapter() { @Override - public void windowClosing​(WindowEvent e) { + public void windowClosing(WindowEvent e) { attachPane(); } });