diff options
-rw-r--r-- | src/net/java/sip/communicator/impl/gui/main/contactlist/TreeContactList.java | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/net/java/sip/communicator/impl/gui/main/contactlist/TreeContactList.java b/src/net/java/sip/communicator/impl/gui/main/contactlist/TreeContactList.java index 1265e8f..d6a2db1 100644 --- a/src/net/java/sip/communicator/impl/gui/main/contactlist/TreeContactList.java +++ b/src/net/java/sip/communicator/impl/gui/main/contactlist/TreeContactList.java @@ -896,6 +896,11 @@ public class TreeContactList UIGroup parentGroup = group.getParentGroup(); + // when metalist removes non empty group, first removes the + // contacts and with the last one it removes the group, as its non empty + if(parentGroup == null) + return; + GroupNode parentGroupNode = parentGroup.getGroupNode(); |