diff --git a/src/FamilyView.py b/src/FamilyView.py index 8def65d5c..15d56a43e 100644 --- a/src/FamilyView.py +++ b/src/FamilyView.py @@ -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"""