* src/gramps_main.py: update person table after edit (BUG 851637)
svn: r2426
This commit is contained in:
parent
957225752b
commit
7ba1e80302
@ -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):
|
||||
|
Loading…
Reference in New Issue
Block a user