gender selection
svn: r6089
This commit is contained in:
parent
e93bff1a40
commit
f540d7a4da
@ -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():
|
||||||
|
Loading…
Reference in New Issue
Block a user