2007-11-24 Benny Malengier <benny.malengier@gramps-project.org>
* src/Editors/_EditPerson.py: callback family update bug removed svn: r9394
This commit is contained in:
parent
bea7f00011
commit
49491384c9
@ -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-24 Jerome Rapinat <romjerome@yahoo.fr>
|
2007-11-24 Jerome Rapinat <romjerome@yahoo.fr>
|
||||||
* src/DataViews/_PersonView.py: TransUtils issue with gettext context
|
* src/DataViews/_PersonView.py: TransUtils issue with gettext context
|
||||||
* src/glade/gramps.glade: Inconsistent label in "Associations", issue #1390
|
* src/glade/gramps.glade: Inconsistent label in "Associations", issue #1390
|
||||||
|
@ -187,6 +187,8 @@ class EditPerson(EditPrimary):
|
|||||||
|
|
||||||
def _update_families(self):
|
def _update_families(self):
|
||||||
phandle = self.obj.get_handle()
|
phandle = self.obj.get_handle()
|
||||||
|
if phandle:
|
||||||
|
#new person has no handle yet and cannot be in a family.
|
||||||
person = self.dbstate.db.get_person_from_handle(phandle)
|
person = self.dbstate.db.get_person_from_handle(phandle)
|
||||||
self.obj.set_family_handle_list(person.get_family_handle_list())
|
self.obj.set_family_handle_list(person.get_family_handle_list())
|
||||||
self.obj.set_parent_family_handle_list(
|
self.obj.set_parent_family_handle_list(
|
||||||
|
Loading…
Reference in New Issue
Block a user