Fixed deleting of a family

svn: r1137
This commit is contained in:
Don Allingham 2002-09-17 01:48:20 +00:00
parent c9d04c8311
commit 1f8ebeb12c

View File

@ -915,7 +915,7 @@ class Gramps:
if family.getMother() == None: if family.getMother() == None:
for child in family.getChildList(): for child in family.getChildList():
child.removeAltFamily(family) child.removeAltFamily(family)
self.db.removeFamily(family) self.db.deleteFamily(family)
else: else:
family.setFather(None) family.setFather(None)
else: else: