* src/EditPerson (__init__): Make gender guessing work again

svn: r4811
This commit is contained in:
Martin Hawlisch 2005-06-08 21:07:40 +00:00
parent daa4475bc8
commit 8b10dc0c42
2 changed files with 4 additions and 1 deletions

View File

@ -1,3 +1,6 @@
2005-06-08 Martin Hawlisch <Martin.Hawlisch@gmx.de>
* src/EditPerson (__init__): Make gender guessing work again
2005-06-08 Daniel Durand <daniel@durand-amd.net>
* src/plugins/rel_fr.py: Add more levels; provide fallback phrases.

View File

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