From 3affb0a3fdc99bf359f20f3e7503110a9b98ee33 Mon Sep 17 00:00:00 2001 From: Doug Blank Date: Fri, 19 Nov 2010 14:37:10 +0000 Subject: [PATCH] 4395: Crash on selecting Gramplets svn: r16217 --- src/plugins/gramplet/DescendGramplet.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/plugins/gramplet/DescendGramplet.py b/src/plugins/gramplet/DescendGramplet.py index db8950ee1..5486752e8 100644 --- a/src/plugins/gramplet/DescendGramplet.py +++ b/src/plugins/gramplet/DescendGramplet.py @@ -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)