* src/gramps_main.py: update family display after EditPerson

* src/EditPerson.py: fix callback


svn: r3456
This commit is contained in:
Don Allingham 2004-08-21 03:36:00 +00:00
parent ff9390c56c
commit 3e5827b671
3 changed files with 8 additions and 4 deletions

View File

@ -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.

View File

@ -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):

View File

@ -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):