From 56dd6eda7a0f8f7b709a8def4e0c8151a4104717 Mon Sep 17 00:00:00 2001 From: Tim Waugh Date: Tue, 1 Jul 2003 19:04:47 +0000 Subject: [PATCH] 2003-07-01 Tim Waugh * src/EditPerson.py: Don't guess gender if it has already been set. svn: r1808 --- ChangeLog | 3 +++ src/EditPerson.py | 4 +++- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 09c55f999..0f711338e 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,6 @@ +2003-07-01 Tim Waugh + * src/EditPerson.py: Don't guess gender if it has already been set. + 2003-06-30 Tim Waugh * src/plugins/Makefile.am: Ship FanChart.py. * src/plugins/Ancestors.py (generation): Report on the correct diff --git a/src/EditPerson.py b/src/EditPerson.py index a57201c4d..0e752e502 100644 --- a/src/EditPerson.py +++ b/src/EditPerson.py @@ -86,7 +86,9 @@ class EditPerson: self.update_death = 0 self.pdmap = {} self.add_places = [] - self.should_guess_gender = (self.original_id == '') + self.should_guess_gender = (self.original_id == '' and + person.getGender () == + RelLib.Person.unknown) for key in db.getPlaceKeys(): p = db.getPlaceDisplay(key)