Fixed child removal problem

svn: r1294
This commit is contained in:
Don Allingham 2003-02-09 03:14:51 +00:00
parent 0585ef661c
commit 9d892febfa

View File

@ -202,7 +202,7 @@ class FamilyView:
child = self.parent.db.getPerson(id)
self.family.removeChild(child)
child.removeAltFamily(child)
child.removeAltFamily(self.family)
if len(self.family.getChildList()) == 0:
if self.family.getFather() == None: