Force CellRendererToggle to not be activatable on non-editable tree
issue5305 review15991002
This commit is contained in:
1 parent
579b63ed1d
commit
65d365ef86
1 file changed
+3
@@ -235,6 +235,9 @@ class GenericText(Cell):
|
||||
pass
|
||||
else:
|
||||
cell.set_property('editable', not readonly)
|
||||
else:
|
||||
if isinstance(cell, CellRendererToggle):
|
||||
cell.set_property('activatable', False)
|
||||
|
||||
cell.set_property('xalign', align)
|
||||
|
||||
|
||||
Reference in new issue
Block a user