Delete empty, unknown spouse
svn: r1267
This commit is contained in:
parent
f086fb17bc
commit
a879a31da7
@ -219,6 +219,8 @@ class FamilyView:
|
|||||||
QuestionDialog(_('Delete Spouse'),
|
QuestionDialog(_('Delete Spouse'),
|
||||||
_('Do you wish to remove %s as a spouse?') % name,
|
_('Do you wish to remove %s as a spouse?') % name,
|
||||||
self.really_remove_spouse)
|
self.really_remove_spouse)
|
||||||
|
elif self.family and not self.family.getChildList():
|
||||||
|
self.really_remove_spouse()
|
||||||
|
|
||||||
def really_remove_spouse(self):
|
def really_remove_spouse(self):
|
||||||
"""Delete the currently selected spouse from the family"""
|
"""Delete the currently selected spouse from the family"""
|
||||||
|
Loading…
Reference in New Issue
Block a user