From b4512427af56aa0bcd4ebd665f1310b33b155574 Mon Sep 17 00:00:00 2001 From: Doug Blank Date: Thu, 17 Dec 2009 04:38:33 +0000 Subject: [PATCH] Small little crash fix svn: r13834 --- src/gui/editors/editperson.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gui/editors/editperson.py b/src/gui/editors/editperson.py index 75fe6fcfb..519893cc3 100644 --- a/src/gui/editors/editperson.py +++ b/src/gui/editors/editperson.py @@ -110,7 +110,7 @@ class EditPerson(EditPrimary): return gen.lib.Person() def get_menu_title(self): - if self.obj.get_handle(): + if self.obj and self.obj.get_handle(): name = name_displayer.display(self.obj) title = _('Person: %(name)s') % {'name': name} else: