diff --git a/gramps/gui/utils.py b/gramps/gui/utils.py index db95a02b1..929756c0f 100644 --- a/gramps/gui/utils.py +++ b/gramps/gui/utils.py @@ -700,9 +700,9 @@ def parents_labels(db, family): if len(family.get_child_ref_list()) > 0: rel_father = _('Father') rel_mother = _('Mother') - if father.gender == 0: + if father.gender == Person.FEMALE: rel_father = rel_mother - if mother.gender == 1: + if mother.gender == Person.MALE: rel_mother = _('Father') else: rc = RelationshipCalculator()