* src/plugins/Check.py: Fixed handling of Unknown genders in
family checks * src/preferences.glade: call on_object_toggled only for elements that need immediate display update * src/GrampsCfg.py: Save data on close - don't rely on on_object_toggled having been called. svn: r2551
This commit is contained in:
parent
4f18f679de
commit
b4e4653658
@ -220,8 +220,8 @@ class CheckIntegrity:
|
||||
if father.getGender() == mother.getGender():
|
||||
family.setRelationship("Partners")
|
||||
self.fam_rel.append(family)
|
||||
elif father.getGender() != RelLib.Person.male or \
|
||||
mother.getGender() != RelLib.Person.female:
|
||||
elif father.getGender() == RelLib.Person.female or \
|
||||
mother.getGender() == RelLib.Person.male:
|
||||
family.setFather(mother)
|
||||
family.setMother(father)
|
||||
self.fam_rel.append(family)
|
||||
|
Loading…
Reference in New Issue
Block a user