From 9b53754272f053cc33673fd752ff8ead6c057bf9 Mon Sep 17 00:00:00 2001 From: Don Allingham Date: Thu, 28 Mar 2002 03:07:33 +0000 Subject: [PATCH] Make sure we select the first if none selected svn: r864 --- src/gramps_main.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/gramps_main.py b/src/gramps_main.py index 42cc7061b..b3facc891 100755 --- a/src/gramps_main.py +++ b/src/gramps_main.py @@ -1381,7 +1381,7 @@ class Gramps: mymap = {} mynmap = {} list = [] - sel = 0 + sel = None for f in self.active_person.getFamilyList(): if self.active_person == f.getFather(): if f.getMother() == None: @@ -1401,7 +1401,7 @@ class Gramps: c.set_data('d',f) c.show() list.append(c) - if f == self.active_family: + if f == self.active_family or sel == None: sel = c mymap[f] = c mynmap[f] = sname