[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:
parent
1eeee2d531
commit
40e360d1c8
|
@ -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}
|
||||
|
||||
|
|
Loading…
Reference in New Issue