Fix for exponential cost on treeviews; whitespace cleanup

This commit is contained in:
Doug Blank 2015-08-21 10:11:45 -04:00
parent d03f13c503
commit dd33a4b172

View File

@ -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()