From 30caa0d8cf96b4850e1970f74e6d69dae66349f6 Mon Sep 17 00:00:00 2001 From: Don Allingham Date: Fri, 10 Feb 2006 04:01:45 +0000 Subject: [PATCH] update svn: r5914 --- gramps2/src/EditFamily.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gramps2/src/EditFamily.py b/gramps2/src/EditFamily.py index c69277620..1cd390605 100644 --- a/gramps2/src/EditFamily.py +++ b/gramps2/src/EditFamily.py @@ -257,7 +257,7 @@ class EditFamily(DisplayState.ManagedWindow): return ('Edit Family','Undefined Submenu') def build_window_key(self,obj): - if self.family.handle: + if self.family and self.family.handle: return id(self.family.handle) else: return id(self)