Redraw groups if we add/remove contacts. Fixes #3192
This commit is contained in:
parent
967d050db2
commit
2e8a39005e
1 changed files with 3 additions and 0 deletions
|
@ -354,6 +354,7 @@ class RosterWindow:
|
||||||
elif not groups:
|
elif not groups:
|
||||||
groups = [_('General')]
|
groups = [_('General')]
|
||||||
for group in groups:
|
for group in groups:
|
||||||
|
self.draw_group(group, account)
|
||||||
iterG = self.get_group_iter(group, account)
|
iterG = self.get_group_iter(group, account)
|
||||||
if not iterG:
|
if not iterG:
|
||||||
IterAcct = self.get_account_iter(account)
|
IterAcct = self.get_account_iter(account)
|
||||||
|
@ -556,6 +557,8 @@ class RosterWindow:
|
||||||
else:
|
else:
|
||||||
if gajim.groups[account].has_key(group):
|
if gajim.groups[account].has_key(group):
|
||||||
del gajim.groups[account][group]
|
del gajim.groups[account][group]
|
||||||
|
else:
|
||||||
|
self.draw_group(group, account)
|
||||||
|
|
||||||
# re-add children
|
# re-add children
|
||||||
for child in children:
|
for child in children:
|
||||||
|
|
Loading…
Add table
Reference in a new issue