Fix for exponential cost on treeviews; whitespace cleanup
This commit is contained in:
parent
d03f13c503
commit
dd33a4b172
@ -596,7 +596,7 @@ class TreeBaseModel(GObject.GObject, Gtk.TreeModel, BaseModel):
|
||||
handle = handle.decode('utf-8')
|
||||
status_ppl.heartbeat()
|
||||
if not handle in skip:
|
||||
if not dfilter or dfilter.apply(self.db, [handle]):
|
||||
if not dfilter or dfilter.match(handle, self.db):
|
||||
add_func(handle, data)
|
||||
self.__displayed += 1
|
||||
status_ppl.end()
|
||||
|
Loading…
Reference in New Issue
Block a user