* src/AddrEdit.py: use new label scheme for tabs that uses an
icon to indicate used tabs * src/AttrEdit.py: use new label scheme for tabs that uses an icon to indicate used tabs * src/NameEdit.py: use new label scheme for tabs * src/Date.py: incorporate instance check form gramps20 branch * src/EditPerson.py: add additional fields for name edit, handle lds page better, adapt to new label scheme * src/GrampsDbBase.py: fix typos * src/GrampsGEDDB.py: fix undo handling * src/GrampsInMemDB.py: fix undo handling * src/GrampsXMLDB.py: fix undo handling * src/PeopleView.py: don't reselect an already selected person * src/Utils.py: new tab scheme * src/edit_person.glade new tab scheme * src/gramps_main.py: 1->True, 0->False replacements * src/DbPrompter.py: bring up to date with gramps20 branch * src/DisplayModels.py: bring up to date with gramps20 branch * src/ReadGedcom.py: bring up to date with gramps20 branch * src/Relationship.py: bring up to date with gramps20 branch svn: r4406
This commit is contained in:
@@ -170,8 +170,8 @@ class RelationshipCalculator:
|
||||
pmap[person.get_handle()] = rel_str
|
||||
|
||||
family_handle = person.get_main_parents_family_handle()
|
||||
if family_handle != None:
|
||||
family = self.db.get_family_from_handle(family_handle)
|
||||
family = self.db.get_family_from_handle(family_handle)
|
||||
if family_handle != None and family:
|
||||
father = self.db.get_person_from_handle(family.get_father_handle())
|
||||
mother = self.db.get_person_from_handle(family.get_mother_handle())
|
||||
self.apply_filter(father,rel_str+'f',plist,pmap)
|
||||
|
||||
Reference in New Issue
Block a user