* src/FamilyView.py: commit family before people when committing
new spouse. svn: r4355
This commit is contained in:
parent
2a3935a235
commit
2022576648
@ -1,4 +1,6 @@
|
||||
2005-04-12 Don Allingham <don@gramps-project.org>
|
||||
* src/FamilyView.py: commit family before people when committing
|
||||
new spouse.
|
||||
* src/EventEdit.py: more robust handler for new place after an edit
|
||||
|
||||
2005-04-12 Martin Hawlisch <Martin.Hawlisch@gmx.de>
|
||||
|
@ -7,8 +7,8 @@ AC_PREREQ(2.57)
|
||||
AC_INIT(gramps, 1.1.99, gramps-bugs@lists.sourceforge.net)
|
||||
AC_CONFIG_SRCDIR(src/gramps.py)
|
||||
AM_INIT_AUTOMAKE(1.6.3)
|
||||
RELEASE=0.CVS$(head -c 10 ${srcdir}/ChangeLog | tr -d '-')
|
||||
dnl RELEASE=1
|
||||
dnl RELEASE=0.CVS$(head -c 10 ${srcdir}/ChangeLog | tr -d '-')
|
||||
RELEASE=1
|
||||
|
||||
VERSIONSTRING=$VERSION
|
||||
if test x"$RELEASE" != "x"
|
||||
|
@ -716,10 +716,11 @@ class FamilyView:
|
||||
family.set_father_handle(epo.person.get_handle())
|
||||
family.set_mother_handle(self.person.get_handle())
|
||||
|
||||
self.parent.db.commit_family(family,trans)
|
||||
self.parent.db.commit_person(new_person,trans)
|
||||
self.parent.db.commit_person(old_person,trans)
|
||||
self.parent.db.commit_family(family,trans)
|
||||
self.parent.db.transaction_commit(trans,_("Add Spouse"))
|
||||
|
||||
self.family = family
|
||||
self.person = old_person
|
||||
m = Marriage.Marriage(self.parent,self.family,self.parent.db)
|
||||
|
Loading…
Reference in New Issue
Block a user