From 124483ea49f525fd902a29f178d19855bb4db255 Mon Sep 17 00:00:00 2001 From: Yann Leboulanger Date: Wed, 4 Nov 2009 20:37:22 +0100 Subject: [PATCH] prevent traceback. Fixes #5402 --- src/roster_window.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/roster_window.py b/src/roster_window.py index cd3a8c9ef..9181c0e5b 100644 --- a/src/roster_window.py +++ b/src/roster_window.py @@ -1234,6 +1234,9 @@ class RosterWindow: child_path = self.model.get_path(child_iter) path = self.modelfilter.convert_child_path_to_path(child_path) + if not path: + continue + if not self.tree.row_expanded(path) and icon_name != 'event': iterC = self.model.iter_children(child_iter) while iterC: