* 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 7e55879f16
commit cf34fd189f

View File

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