From 40e360d1c8bf98cb3c65f185582e2c606871569c Mon Sep 17 00:00:00 2001 From: Jean-Marie Traissard Date: Sun, 8 Jun 2008 13:20:46 +0000 Subject: [PATCH] [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). --- src/roster_window.py | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/roster_window.py b/src/roster_window.py index a8d947801..86315f45a 100644 --- a/src/roster_window.py +++ b/src/roster_window.py @@ -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}