4395: Crash on selecting Gramplets
svn: r16217
This commit is contained in:
parent
028e5caf03
commit
3affb0a3fd
@ -63,6 +63,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…
x
Reference in New Issue
Block a user