diff -r d9353e440887 -r 602fdd08dfab editors/CodeFileEditor.py --- a/editors/CodeFileEditor.py Wed Aug 08 10:15:51 2018 +0200 +++ b/editors/CodeFileEditor.py Wed Aug 08 10:17:19 2018 +0200 @@ -602,6 +602,7 @@ def __init__(self, table, row, col): wx.grid.GridCellTextEditor.__init__(self) + class ClassGridCellEditor(wx.grid.GridCellChoiceEditor): def __init__(self, table, row, col): wx.grid.GridCellChoiceEditor.__init__(self) @@ -610,9 +611,9 @@ class VariablesTable(CustomTable): __defaultColumnType = dict( - [(name, AllGridCellEditor) for name in - ["Name", "Initial", "Description", "OnChange", "Options"]] + - [('Class', ClassGridCellEditor), ('Type', None)]) + [(name, AllGridCellEditor) for name in + ["Name", "Initial", "Description", "OnChange", "Options"]] + + [('Class', ClassGridCellEditor), ('Type', None)]) def __init__(self, *args, **kwargs): my_columns = kwargs.pop("additional_columns")