Browse Source

Remove todo comment.

pull/100/head
Greg Holmes 9 years ago
parent
commit
4ba7d35548

+ 0
- 1
ui_swing/src/com/dmdirc/addons/ui_swing/components/menubar/ChannelMenu.java View File

122
     public void actionPerformed(final ActionEvent e) {
122
     public void actionPerformed(final ActionEvent e) {
123
         switch (e.getActionCommand()) {
123
         switch (e.getActionCommand()) {
124
             case "JoinChannel":
124
             case "JoinChannel":
125
-                // TODO: This can NPE on both getActiveFrame and getConnection fix me.
126
                 new StandardInputDialog(mainFrame, Dialog.ModalityType.APPLICATION_MODAL,
125
                 new StandardInputDialog(mainFrame, Dialog.ModalityType.APPLICATION_MODAL,
127
                         iconManager, "Join Channel", "Enter the name of the channel to join.",
126
                         iconManager, "Join Channel", "Enter the name of the channel to join.",
128
                         this::doJoinChannel).displayOrRequestFocus();
127
                         this::doJoinChannel).displayOrRequestFocus();

Loading…
Cancel
Save