* src/FamilyView.py: initialize Family
svn: r5916
This commit is contained in:
parent
bf345dc2cf
commit
8edb0798e2
@ -1,4 +1,5 @@
|
||||
2006-02-09 Don Allingham <don@gramps-project.org>
|
||||
* 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
|
||||
|
@ -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:
|
||||
|
Loading…
Reference in New Issue
Block a user