2007-11-24 Benny Malengier <benny.malengier@gramps-project.org>

* src/Editors/_EditPerson.py: callback family update bug removed



svn: r9395
This commit is contained in:
Benny Malengier 2007-11-24 13:54:20 +00:00
parent 5755e456e4
commit 0a10de647e
2 changed files with 9 additions and 5 deletions

View File

@ -1,3 +1,6 @@
2007-11-24 Benny Malengier <benny.malengier@gramps-project.org>
* src/Editors/_EditPerson.py: callback family update bug removed
2007-11-23 Benny Malengier <benny.malengier@gramps-project.org>
* src/plugins/Check.py: fix wrong event ref (was fixed in trunk in 2007/02)

View File

@ -189,11 +189,12 @@ class EditPerson(EditPrimary):
def _update_families(self):
phandle = self.obj.get_handle()
person = self.dbstate.db.get_person_from_handle(phandle)
self.obj.set_family_handle_list(person.get_family_handle_list())
self.obj.set_parent_family_handle_list(person.get_parent_family_handle_list())
#self.person_ref_list.data = self.obj.get_person_ref_list()
#self.person_ref_list.rebuild()
if phandle:
person = self.dbstate.db.get_person_from_handle(phandle)
self.obj.set_family_handle_list(person.get_family_handle_list())
self.obj.set_parent_family_handle_list(person.get_parent_family_handle_list())
#self.person_ref_list.data = self.obj.get_person_ref_list()
#self.person_ref_list.rebuild()
def _setup_fields(self):
"""