* src/gramps_main.py: update family display after EditPerson
* src/EditPerson.py: fix callback svn: r3456
This commit is contained in:
parent
ff9390c56c
commit
3e5827b671
@ -1,3 +1,7 @@
|
||||
2004-08-20 Don Allingham <dallingham@users.sourceforge.net>
|
||||
* src/gramps_main.py: update family display after EditPerson
|
||||
* src/EditPerson.py: fix callback
|
||||
|
||||
2004-08-20 Alex Roitman <shura@alex.neuro.umn.edu>
|
||||
* src/plugins/rel_da.py: Convert to new interface. Add to CVS.
|
||||
* src/plugins/rel_fi.py: Convert to new interface. Add to CVS.
|
||||
|
@ -1611,13 +1611,12 @@ class EditPerson:
|
||||
if self.lists_changed:
|
||||
self.person.set_source_reference_list(self.srcreflist)
|
||||
|
||||
self.update_lists()
|
||||
if self.callback:
|
||||
self.callback(self,trans)
|
||||
|
||||
self.db.commit_person(self.person, trans)
|
||||
n = self.person.get_primary_name().get_regular_name()
|
||||
self.db.transaction_commit(trans,_("Edit Person (%s)") % n)
|
||||
self.update_lists()
|
||||
if self.callback:
|
||||
self.callback(self,0)
|
||||
self.close()
|
||||
|
||||
def get_place(self,field,makenew=0):
|
||||
|
@ -1472,6 +1472,7 @@ class Gramps:
|
||||
id = epo.person.get_handle()
|
||||
path = self.people_view.person_model.on_get_path(id)
|
||||
self.people_view.person_model.row_changed(path,iter)
|
||||
self.family_view.load_family()
|
||||
self.update_display(0)
|
||||
|
||||
def update_after_merge(self,person,old_id):
|
||||
|
Loading…
Reference in New Issue
Block a user