tools: fix performance-log viewer profile thread-filter

In performance-log-viewer.py, fix thread-state toggling in the
profile-view thread-filter popover, when not all threads are
included in the current selection.
This commit is contained in:
Ell 2018-10-11 08:20:08 -04:00
parent 72fc01742b
commit 43b492ff83

View file

@ -2259,7 +2259,7 @@ class ProfileViewer (Gtk.ScrolledWindow):
col.add_attribute (cell, "active", store.STATE[state])
def cell_toggled (cell, path):
store[path][cell.column] = not cell.get_property ("active")
filter[path][cell.column] = not cell.get_property ("active")
cell.connect ("toggled", cell_toggled)