From 22ef07cdebfa0153ce701acb9f09cb7db82cf21b Mon Sep 17 00:00:00 2001 From: Bastien Jacquet Date: Thu, 11 Dec 2014 01:02:56 +0100 Subject: [PATCH] FlatTreeView : Fix wrong return values --- gramps/gui/views/treemodels/flatbasemodel.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gramps/gui/views/treemodels/flatbasemodel.py b/gramps/gui/views/treemodels/flatbasemodel.py index 39baee2e1..ebc1425e5 100644 --- a/gramps/gui/views/treemodels/flatbasemodel.py +++ b/gramps/gui/views/treemodels/flatbasemodel.py @@ -861,7 +861,7 @@ class FlatBaseModel(GObject.GObject, Gtk.TreeModel): #print 'do_iter_nth_child', iter, nth if iter == None: return True, self.node_map.get_iter(nth) - return False + return False, None def do_iter_parent(self, iter): """ @@ -869,4 +869,4 @@ class FlatBaseModel(GObject.GObject, Gtk.TreeModel): See Gtk.TreeModel """ #print 'do_iter_parent' - return False + return False, None