Fix for exponential cost on treeviews; whitespace cleanup
This commit is contained in:
parent
e5d6be61f8
commit
a93872a0f3
@ -596,7 +596,7 @@ class TreeBaseModel(GObject.GObject, Gtk.TreeModel, BaseModel):
|
|||||||
handle = handle.decode('utf-8')
|
handle = handle.decode('utf-8')
|
||||||
status_ppl.heartbeat()
|
status_ppl.heartbeat()
|
||||||
if not handle in skip:
|
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)
|
add_func(handle, data)
|
||||||
self.__displayed += 1
|
self.__displayed += 1
|
||||||
status_ppl.end()
|
status_ppl.end()
|
||||||
|
Loading…
Reference in New Issue
Block a user