Fixed child removal problem

svn: r1294
This commit is contained in:
Don Allingham 2003-02-09 03:14:51 +00:00
parent 9f42e1fd22
commit 1b77bc6617

View File

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