4590: Error on access of LDS editor when sealed to family has been removed.

svn: r16592
This commit is contained in:
Michiel Nauta
2011-02-09 16:03:52 +00:00
parent 38143d7ac4
commit 1231b1cac8
8 changed files with 81 additions and 39 deletions

View File

@@ -1109,7 +1109,7 @@ class EditFamily(EditPrimary):
self.db.commit_person(person, trans)
if self.object_is_empty():
self.db.remove_family(self.obj.handle, trans)
self.db.remove_family_relationships(self.obj.handle, trans)
else:
if not self.obj.get_gramps_id():
self.obj.set_gramps_id(