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:
|
else:
|
||||||
# show "V Family: ..." and the rest
|
# show "V Family: ..." and the rest
|
||||||
self.write_label("%s:" % _('Family'), family, False, person)
|
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)
|
box = self.write_person(_('Spouse'), handle)
|
||||||
|
|
||||||
if not self.write_relationship_events(box, family):
|
if not self.write_relationship_events(box, family):
|
||||||
|
Loading…
x
Reference in New Issue
Block a user