[modelfilter]Fix row behind that expand when moving contact problem.

This code seems not necessary. But why does that created that problem ?
It seems for some reason, path is not good. Probably the iter itself is not good. So expand act on the wrong
group (I can proove that).
This commit is contained in:
Jean-Marie Traissard 2008-06-08 13:20:46 +00:00
parent 1eeee2d531
commit 40e360d1c8
1 changed files with 0 additions and 3 deletions

View File

@ -385,13 +385,10 @@ class RosterWindow:
added_iters.append(i_)
# Restore the group expand state
path = self.model.get_path(child_iterG)
if account + group in self.collapsed_rows:
is_expanded = False
self.tree.collapse_row(path)
else:
is_expanded = True
self.tree.expand_row(path, False)
if group not in gajim.groups[account]:
gajim.groups[account][group] = {'expand': is_expanded}