Browse Source

Merge pull request #378 from csmith/master

Fix silly NPE in InviteLabel.
pull/380/head
Greg Holmes 9 years ago
parent
commit
e89a027460

+ 1
- 1
ui_swing/src/com/dmdirc/addons/ui_swing/components/statusbar/InviteLabel.java View File

@@ -163,7 +163,7 @@ public class InviteLabel extends StatusbarPopupPanel<JLabel> {
163 163
         if (event.getWindow().isPresent()) {
164 164
             activeConnection = event.getWindow().get().getContainer().getConnection();
165 165
         } else {
166
-            activeConnection = null;
166
+            activeConnection = Optional.empty();
167 167
         }
168 168
         update();
169 169
     }

Loading…
Cancel
Save