Fix TreeBaseModel so that filters have correct transient parent

This commit is contained in:
prculley 2017-02-03 18:04:17 -06:00
parent 79888ec6ea
commit 705ae9075d

View File

@ -587,7 +587,8 @@ class TreeBaseModel(GObject.GObject, Gtk.TreeModel, BaseModel):
self.__total += items
assert not skip
if dfilter:
for handle in dfilter.apply(self.db, user=User()):
for handle in dfilter.apply(self.db,
user=User(parent=self.uistate.window)):
status_ppl.heartbeat()
data = data_map(handle)
add_func(handle, data)