gender selection

svn: r6089
This commit is contained in:
Don Allingham 2006-03-06 05:32:36 +00:00
parent e93bff1a40
commit f540d7a4da

View File

@ -409,6 +409,7 @@ class EditPerson(EditPrimary):
error = False error = False
original = self.db.get_person_from_handle(self.obj.handle) original = self.db.get_person_from_handle(self.obj.handle)
if original:
(female,male,unknown) = _select_gender[self.obj.get_gender()] (female,male,unknown) = _select_gender[self.obj.get_gender()]
if male and original.get_gender() != RelLib.Person.MALE: if male and original.get_gender() != RelLib.Person.MALE:
for temp_family_handle in self.obj.get_family_handle_list(): for temp_family_handle in self.obj.get_family_handle_list():