* src/ChooseParents.py: fix parent selection

* src/FamilyView.py: fix update of parents after selction
* src/PeopleView.py: fix update of parents after selction
* src/gramps_main.py: fix update of parents after selction
* src/EditPerson.py: fix person id reference


svn: r3244
This commit is contained in:
Don Allingham
2004-06-29 03:51:49 +00:00
parent 4a3b978f9e
commit 72a04eef03
6 changed files with 23 additions and 21 deletions

View File

@@ -299,6 +299,7 @@ class ChooseParents:
def redrawf(self):
"""Redraws the potential father list"""
self.father_nsort = PeopleModel.PeopleModel(self.db)
self.father_nsort.rebuild_data()
self.father_model = gtk.TreeModelSort(self.father_nsort)
self.father_list.set_model(self.father_model)
@@ -310,6 +311,7 @@ class ChooseParents:
def redrawm(self):
"""Redraws the potential mother list"""
self.mother_nsort = PeopleModel.PeopleModel(self.db)
self.mother_nsort.rebuild_data()
self.mother_model = gtk.TreeModelSort(self.mother_nsort)
self.mother_list.set_model(self.mother_model)