Make sure we select the first if none selected
svn: r864
This commit is contained in:
parent
e7cecccc01
commit
9b53754272
@ -1381,7 +1381,7 @@ class Gramps:
|
|||||||
mymap = {}
|
mymap = {}
|
||||||
mynmap = {}
|
mynmap = {}
|
||||||
list = []
|
list = []
|
||||||
sel = 0
|
sel = None
|
||||||
for f in self.active_person.getFamilyList():
|
for f in self.active_person.getFamilyList():
|
||||||
if self.active_person == f.getFather():
|
if self.active_person == f.getFather():
|
||||||
if f.getMother() == None:
|
if f.getMother() == None:
|
||||||
@ -1401,7 +1401,7 @@ class Gramps:
|
|||||||
c.set_data('d',f)
|
c.set_data('d',f)
|
||||||
c.show()
|
c.show()
|
||||||
list.append(c)
|
list.append(c)
|
||||||
if f == self.active_family:
|
if f == self.active_family or sel == None:
|
||||||
sel = c
|
sel = c
|
||||||
mymap[f] = c
|
mymap[f] = c
|
||||||
mynmap[f] = sname
|
mynmap[f] = sname
|
||||||
|
Loading…
Reference in New Issue
Block a user