* 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:
parent
9577dec324
commit
cac9c131ce
@ -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)
|
||||||
|
Loading…
Reference in New Issue
Block a user