4395: Crash on selecting Gramplets

svn: r16217
This commit is contained in:
Doug Blank 2010-11-19 14:37:10 +00:00
parent 028e5caf03
commit 3affb0a3fd

View File

@ -63,6 +63,8 @@ class DescendantGramplet(Gramplet):
return
self.set_text("")
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)
title = _("Descendants of %s") % name
self.append_text(title)