9004: Error printing graphical report ancestor tree

This commit is contained in:
Jérôme Rapinat 2017-02-07 09:18:00 -08:00 committed by Paul Franklin
parent ac18460059
commit 3c2231591f

View File

@ -229,8 +229,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)