9004: Error printing graphical report ancestor tree

This commit is contained in:
Jérôme Rapinat 2017-02-07 08:58:25 -08:00 committed by Paul Franklin
parent c8b9a5ee5b
commit 42ed11e0ff

View File

@ -231,8 +231,9 @@ class MakeAncestorTree(AscendPerson):
myself.text = self.calc_items.calc_person(index,
indi_handle, fams_handle)
myself.add_mark(self.database,
self.database.get_person_from_handle(indi_handle))
if indi_handle is not None: # None is legal for an empty box
myself.add_mark(self.database,
self.database.get_person_from_handle(indi_handle))
self.canvas.add_box(myself)