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)