Fix adding spouse after family exists
svn: r6301
This commit is contained in:
parent
44e127abba
commit
6b970e3659
@ -1,3 +1,7 @@
|
||||
2006-04-10 Don Allingham <don@gramps-project.org>
|
||||
* src/Editors/_EditFamily.py: Fix adding of spouse after family
|
||||
has been created
|
||||
|
||||
2006-04-09 Alex Roitman <shura@gramps-project.org>
|
||||
* src/ViewManager.py (ViewManager.create_pages): Use toggle
|
||||
buttons on the sidebar.
|
||||
|
@ -761,7 +761,7 @@ class EditFamily(EditPrimary):
|
||||
person.family_list.remove(self.obj.handle)
|
||||
self.db.commit_person(person,trans)
|
||||
if new_handle:
|
||||
person = self.db.get_person_from_handle(orig_handle)
|
||||
person = self.db.get_person_from_handle(new_handle)
|
||||
if self.obj.handle not in person.family_list:
|
||||
person.family_list.append(self.obj.handle)
|
||||
self.db.commit_person(person,trans)
|
||||
|
Loading…
Reference in New Issue
Block a user