fix A GTK error

This commit is contained in:
Yann Leboulanger 2016-01-16 15:31:00 +01:00
parent 35349d9ee4
commit 971b5a5316
1 changed files with 2 additions and 2 deletions

View File

@ -4322,9 +4322,9 @@ class RosterWindow:
GLib.idle_add(self.draw_contact, jid, account)
elif type_ == 'group':
group = model[titer][C_JID]
self._adjust_group_expand_collapse_state(group, account)
GLib.idle_add(self._adjust_group_expand_collapse_state, group, account)
elif type_ == 'account':
self._adjust_account_expand_collapse_state(account)
GLib.idle_add(self._adjust_account_expand_collapse_state, account)
# Selection can change when the model is filtered
# Only write to the model when filtering is finished!