* src/FamilyView.py (FamilyView.really_remove_spouse): remove the

corret person from the family when deleting the spouse

* src/po/it.po: updated Italian translation


svn: r2455
This commit is contained in:
Don Allingham 2003-12-07 04:15:54 +00:00
parent 9577dec324
commit cac9c131ce

View File

@ -695,9 +695,9 @@ class FamilyView:
if self.person == None: if self.person == None:
return return
if self.selected_spouse == self.family.getFather(): if self.selected_spouse == self.family.getFather():
self.family.setMother(None)
else:
self.family.setFather(None) self.family.setFather(None)
else:
self.family.setMother(None)
if self.selected_spouse: if self.selected_spouse:
self.selected_spouse.removeFamily(self.family) self.selected_spouse.removeFamily(self.family)