Fixed child removal problem
svn: r1294
This commit is contained in:
parent
9f42e1fd22
commit
1b77bc6617
@ -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:
|
||||||
|
Loading…
Reference in New Issue
Block a user