* 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:
@ -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]:
|
||||
|
Reference in New Issue
Block a user