4395: Crash on selecting Gramplets
svn: r16216
This commit is contained in:
parent
92758a5a69
commit
34bf782e6b
@ -64,6 +64,8 @@ class DescendantGramplet(Gramplet):
|
|||||||
return
|
return
|
||||||
self.set_text("")
|
self.set_text("")
|
||||||
self.center_person = self.dbstate.db.get_person_from_handle(active_handle)
|
self.center_person = self.dbstate.db.get_person_from_handle(active_handle)
|
||||||
|
if self.center_person is None:
|
||||||
|
return
|
||||||
name = name_displayer.display(self.center_person)
|
name = name_displayer.display(self.center_person)
|
||||||
title = _("Descendants of %s") % name
|
title = _("Descendants of %s") % name
|
||||||
self.append_text(title)
|
self.append_text(title)
|
||||||
|
Loading…
Reference in New Issue
Block a user