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