diff --git a/gramps2/ChangeLog b/gramps2/ChangeLog index 3a17487fe..ec16b8ee9 100644 --- a/gramps2/ChangeLog +++ b/gramps2/ChangeLog @@ -1,3 +1,6 @@ +2005-06-08 Martin Hawlisch + * src/EditPerson (__init__): Make gender guessing work again + 2005-06-08 Daniel Durand * src/plugins/rel_fr.py: Add more levels; provide fallback phrases. diff --git a/gramps2/src/EditPerson.py b/gramps2/src/EditPerson.py index 1716386c9..332d7737c 100644 --- a/gramps2/src/EditPerson.py +++ b/gramps2/src/EditPerson.py @@ -118,7 +118,7 @@ class EditPerson: self.pdmap = {} self.add_places = [] self.name_display = NameDisplay.displayer - self.should_guess_gender = (person.get_gramps_id() == '' and + self.should_guess_gender = (not person.get_gramps_id() and person.get_gender () == RelLib.Person.UNKNOWN)