From 90337c2baacf95528b71b5410016f601056add96 Mon Sep 17 00:00:00 2001 From: Tim Waugh Date: Mon, 16 Jun 2003 16:24:17 +0000 Subject: [PATCH] 2003-06-16 Tim Waugh * src/FamilyView.py (north_american): Fixed traceback when adding a new child in the family view. svn: r1752 --- gramps2/ChangeLog | 4 ++++ gramps2/src/FamilyView.py | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/gramps2/ChangeLog b/gramps2/ChangeLog index d765b7a59..42b337026 100644 --- a/gramps2/ChangeLog +++ b/gramps2/ChangeLog @@ -1,3 +1,7 @@ +2003-06-16 Tim Waugh + * src/FamilyView.py (north_american): Fixed traceback when adding + a new child in the family view. + 2003-06-16 Alex Roitman * src/plugins/FtmStyleAncestors.py, src/plugins/FtmStyleDescendants.py: Remove options_dialog function -- it is not nedded anymore. diff --git a/gramps2/src/FamilyView.py b/gramps2/src/FamilyView.py index f5e6f9010..755da4b11 100644 --- a/gramps2/src/FamilyView.py +++ b/gramps2/src/FamilyView.py @@ -689,7 +689,7 @@ class FamilyView: sel_data.set(sel_data.target, bits_per, data) def north_american(self,val): - if self.person.getGender() == Person.male: + if self.person.getGender() == RelLib.Person.male: return self.person.getPrimaryName().getSurname() elif self.family: f = self.family.getFather()