don't count the root group

cusax-fix
Yana Stamcheva 19 years ago
parent edd35cb424
commit 068bea3459

@ -132,7 +132,8 @@ private int getContactListSize(MetaContactGroup group)
{
size = group.countChildContacts();
//count the group itself
size++;
if(!group.equals(rootGroup))
size++;
}
else
{
@ -146,7 +147,7 @@ private int getContactListSize(MetaContactGroup group)
}
//count the group itself only if it contains any online contacts
if(size > 0)
if(!group.equals(rootGroup) && size > 0)
size++;
}

Loading…
Cancel
Save