Redraw groups if we add/remove contacts. Fixes #3192

This commit is contained in:
Stephan Erb 2007-06-27 10:32:54 +00:00
parent 967d050db2
commit 2e8a39005e

View file

@ -354,6 +354,7 @@ class RosterWindow:
elif not groups:
groups = [_('General')]
for group in groups:
self.draw_group(group, account)
iterG = self.get_group_iter(group, account)
if not iterG:
IterAcct = self.get_account_iter(account)
@ -556,6 +557,8 @@ class RosterWindow:
else:
if gajim.groups[account].has_key(group):
del gajim.groups[account][group]
else:
self.draw_group(group, account)
# re-add children
for child in children: