Do not set text property on CellRendererToggle

CellRendererToggle does not have a text property.

issue7667
review51511002
This commit is contained in:
Cédric Krier committed 2018-09-13 18:44:05 +02:00
1 parent ae5476c64c
commit af117d0642
1 file changed
+1 -1
@@ -222,7 +222,7 @@ class GenericText(Cell):
# height for not visible cell with text
# We can force an empty text because not visible cell can not be edited
# and so value_from_text is never called.
if invisible:
if invisible and not isinstance(cell, CellRendererToggle):
cell.set_property('text', '')
if editable: