* src/gramps_main.py: update person table after edit (BUG 851637)

svn: r2426
This commit is contained in:
Don Allingham 2003-12-02 17:24:01 +00:00
parent 957225752b
commit 7ba1e80302

View File

@ -1610,6 +1610,7 @@ class Gramps:
def update_after_edit(self,epo,plist): def update_after_edit(self,epo,plist):
if epo: if epo:
self.db.buildPersonDisplay(epo.person.getId(),epo.original_id)
self.people_view.remove_from_person_list(epo.person,epo.original_id) self.people_view.remove_from_person_list(epo.person,epo.original_id)
self.people_view.redisplay_person_list(epo.person) self.people_view.redisplay_person_list(epo.person)
for p in plist: for p in plist:
@ -1618,8 +1619,9 @@ class Gramps:
def update_after_merge(self,person,old_id): def update_after_merge(self,person,old_id):
if person: if person:
self.people_view.remove_from_person_list(epo.person.getId(),old_id) self.people_view.remove_from_person_list(person.getId(),old_id)
self.people_view.redisplay_person_list(epo.person) self.db.buildPersonDisplay(person.getId(),original_id)
self.people_view.redisplay_person_list(person)
self.update_display(0) self.update_display(0)
def load_person(self,person): def load_person(self,person):