4861: Relationship view doesn't show marriage if no spouse
svn: r17932
This commit is contained in:
parent
9a1b8ec128
commit
49feac90fa
@ -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):
|
||||
|
Loading…
Reference in New Issue
Block a user