update for GEDCOM memory usage

svn: r3123
This commit is contained in:
Don Allingham
2004-05-04 04:34:48 +00:00
parent 75346c6a29
commit d327a58277
2 changed files with 57 additions and 55 deletions

View File

@@ -251,9 +251,13 @@ class PeopleModel(gtk.GenericTreeModel):
self.top_visible = {}
def set_visible(self,iter,val):
col = self.iter2path[iter]
self.top_visible[col[0]] = val
self.visible[iter] = val
try:
col = self.iter2path[iter]
self.top_visible[col[0]] = val
self.visible[iter] = val
except:
print iter,val
self.visible[iter] = val
def on_iter_next(self, node):
'''returns the next node at this level of the tree'''