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:
@ -2259,7 +2259,7 @@ class ProfileViewer (Gtk.ScrolledWindow):
|
|||||||
col.add_attribute (cell, "active", store.STATE[state])
|
col.add_attribute (cell, "active", store.STATE[state])
|
||||||
|
|
||||||
def cell_toggled (cell, path):
|
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)
|
cell.connect ("toggled", cell_toggled)
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user