diff --git a/gramps2/ChangeLog b/gramps2/ChangeLog index 078d104d2..1f383f700 100644 --- a/gramps2/ChangeLog +++ b/gramps2/ChangeLog @@ -1,4 +1,5 @@ 2006-02-09 Don Allingham + * src/FamilyView.py: initialize Family * src/EditFamily.py: fix empty gramps_id for new families * src/GrampsWidgets.py: fix empty gramps_id for new families * src/DisplayTabs.py: fix editing of person events diff --git a/gramps2/src/FamilyView.py b/gramps2/src/FamilyView.py index 97eedf084..0b24544af 100644 --- a/gramps2/src/FamilyView.py +++ b/gramps2/src/FamilyView.py @@ -572,7 +572,8 @@ class FamilyView(PageView.PersonNavView): def add_family(self,obj,event,handle): if event.type == gtk.gdk.BUTTON_PRESS and event.button == 1: import EditFamily - EditFamily.EditFamily(self.dbstate,self.uistate,[],None) + family = RelLib.Family() + EditFamily.EditFamily(self.dbstate,self.uistate,[],family) def delete_family(self,obj,event,handle): if event.type == gtk.gdk.BUTTON_PRESS and event.button == 1: