* src/gramps_main.py: handle update_after edit properly, so that

name changes will put entry in the correct category
* src/PeopleView.py: cleanup
* src/PeopleStore.py: delete stale iter from dictionary when no
longer used.


svn: r2387
This commit is contained in:
Don Allingham
2003-11-26 16:42:54 +00:00
parent 4536d98e94
commit ea8be3cc34
3 changed files with 13 additions and 10 deletions

View File

@ -207,10 +207,10 @@ class PeopleView:
self.id2col[key] = (model,iter)
if change:
self.parent.change_active_person(person)
self.goto_active_person()
model.enable_sort()
if change:
self.parent.change_active_person(person)
self.goto_active_person()
model.enable_sort()
def goto_active_person(self,first=0):
if not self.parent.active_person:
@ -408,8 +408,7 @@ class PeopleView:
(model,iter) = self.id2col[key]
val = self.parent.db.getPersonDisplay(person.getId())
pg = unicode(val[5])
pg = pg[0]
pg = unicode(val[5])[0]
if self.DataFilter.compare(person):
col = 0
for object in val[:-1]: