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.

(cherry picked from commit 43b492ff83)
This commit is contained in:
Ell
2018-10-11 08:20:08 -04:00
parent b1cba6b142
commit 65131b2c1b

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)