|
@@ -275,9 +275,9 @@ public class MenuBar extends JMenuBar implements ActionListener, MenuListener {
|
275
|
275
|
getChannel());
|
276
|
276
|
}
|
277
|
277
|
} else if (e.getActionCommand().equals("ServerSettings")) {
|
278
|
|
- controller.showServerSettingsDialog(controller.getActiveServer());
|
|
278
|
+ controller.showServerSettingsDialog(WindowManager.getActiveServer());
|
279
|
279
|
} else if (e.getActionCommand().equals("Disconnect")) {
|
280
|
|
- controller.getActiveServer().disconnect();
|
|
280
|
+ WindowManager.getActiveServer().disconnect();
|
281
|
281
|
} else if (e.getActionCommand().equals("JoinChannel")) {
|
282
|
282
|
new StandardInputDialog(mainFrame, ModalityType.MODELESS,
|
283
|
283
|
"Join channel", "Enter the name of the channel to join.") {
|
|
@@ -288,7 +288,7 @@ public class MenuBar extends JMenuBar implements ActionListener, MenuListener {
|
288
|
288
|
/** {@inheritDoc} */
|
289
|
289
|
@Override
|
290
|
290
|
public boolean save() {
|
291
|
|
- controller.getActiveServer().join(getText());
|
|
291
|
+ WindowManager.getActiveServer().join(getText());
|
292
|
292
|
return true;
|
293
|
293
|
}
|
294
|
294
|
|