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()