From 49feac90fa63c96a10cc2ace0f2d4fa7723d8d5c Mon Sep 17 00:00:00 2001 From: Michiel Nauta Date: Fri, 15 Jul 2011 17:14:02 +0000 Subject: [PATCH] 4861: Relationship view doesn't show marriage if no spouse svn: r17932 --- src/plugins/view/relview.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/plugins/view/relview.py b/src/plugins/view/relview.py index 0922751fa..13fd1c717 100644 --- a/src/plugins/view/relview.py +++ b/src/plugins/view/relview.py @@ -1341,7 +1341,8 @@ class RelationshipView(NavigationView): else: # show "V Family: ..." and the rest self.write_label("%s:" % _('Family'), family, False, person) - if handle: + if (handle or + family.get_relationship() != gen.lib.FamilyRelType.UNKNOWN): box = self.write_person(_('Spouse'), handle) if not self.write_relationship_events(box, family):