9904: Errors printing graphical report ancestor tree
This commit is contained in:
parent
db81851195
commit
ee150c101a
@ -231,6 +231,7 @@ class MakeAncestorTree(AscendPerson):
|
||||
myself.text = self.calc_items.calc_person(index,
|
||||
indi_handle, fams_handle)
|
||||
|
||||
if indi_handle:
|
||||
myself.add_mark(self.database,
|
||||
self.database.get_person_from_handle(indi_handle))
|
||||
|
||||
@ -239,7 +240,7 @@ class MakeAncestorTree(AscendPerson):
|
||||
#make the lines
|
||||
indx = index[LVL_GEN]
|
||||
self.lines[indx] = myself
|
||||
if indx > 1:
|
||||
if 1 < indx < 8:
|
||||
if self.lines[indx-1].line_to is None:
|
||||
line = LineBase(self.lines[indx-1])
|
||||
self.lines[indx-1].line_to = line
|
||||
|
Loading…
Reference in New Issue
Block a user