fix strange crash when loading the database
svn: r6252
This commit is contained in:
parent
08f0192af4
commit
72e25670ec
@ -577,6 +577,8 @@ class PedigreeView(PageView.PersonNavView):
|
||||
self.notebook.set_current_page(self.force_size-2)
|
||||
|
||||
def rebuild_trees(self,person_handle):
|
||||
person = None
|
||||
if person_handle:
|
||||
person = self.dbstate.db.get_person_from_handle( person_handle)
|
||||
if self.tree_style == 1:
|
||||
# format of the definition is:
|
||||
|
Loading…
Reference in New Issue
Block a user