* 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
e8aa50f8b4
commit
367594dc71
@ -220,8 +220,8 @@ class CheckIntegrity:
|
|||||||
if father.getGender() == mother.getGender():
|
if father.getGender() == mother.getGender():
|
||||||
family.setRelationship("Partners")
|
family.setRelationship("Partners")
|
||||||
self.fam_rel.append(family)
|
self.fam_rel.append(family)
|
||||||
elif father.getGender() != RelLib.Person.male or \
|
elif father.getGender() == RelLib.Person.female or \
|
||||||
mother.getGender() != RelLib.Person.female:
|
mother.getGender() == RelLib.Person.male:
|
||||||
family.setFather(mother)
|
family.setFather(mother)
|
||||||
family.setMother(father)
|
family.setMother(father)
|
||||||
self.fam_rel.append(family)
|
self.fam_rel.append(family)
|
||||||
|
Loading…
Reference in New Issue
Block a user