Update
svn: r6105
This commit is contained in:
parent
dd42490860
commit
91210a5ece
@ -1,4 +1,5 @@
|
||||
2006-03-08 Alex Roitman <shura@gramps-project.org>
|
||||
* src/Editors/_EditFamily.py: Use tuple relations.
|
||||
* src/GramspDb/_GrampsBSDDB.py: Minor fixes.
|
||||
|
||||
2006-03-08 Don Allingham <don@gramps-project.org>
|
||||
|
@ -568,8 +568,9 @@ class EditFamily(EditPrimary):
|
||||
child = self.db.get_person_from_handle(handle)
|
||||
# fix
|
||||
child.add_parent_family_handle(handle,
|
||||
RelLib.Person.CHILD_BIRTH,
|
||||
RelLib.Person.CHILD_BIRTH)
|
||||
(RelLib.Person.CHILD_BIRTH,''),
|
||||
(RelLib.Person.CHILD_BIRTH,''),
|
||||
)
|
||||
self.db.commit_person(child,trans)
|
||||
|
||||
self.db.add_family(self.obj,trans)
|
||||
|
@ -1049,6 +1049,10 @@ class GrampsBSDDB(GrampsDbBase):
|
||||
for key in transaction.reference_del:
|
||||
self.reference_map.delete(str(key),txn=self.txn)
|
||||
|
||||
if (len(transaction.reference_add)+len(transaction.reference_del)) > 0\
|
||||
and not self.UseTXN:
|
||||
self.reference_map.sync()
|
||||
|
||||
# Commit BSD DB transaction -- DBTxn
|
||||
if self.UseTXN:
|
||||
self.txn.commit()
|
||||
|
Loading…
Reference in New Issue
Block a user