diff -r 9b67c71adbb7 -r c74a73474cce objdictgen/subindextable.py --- a/objdictgen/subindextable.py Tue Apr 29 13:50:56 2008 +0200 +++ b/objdictgen/subindextable.py Tue Apr 29 13:54:23 2008 +0200 @@ -176,11 +176,9 @@ renderer = wx.grid.GridCellNumberRenderer() if colname == "value" and "min" in editors and "max" in editors: editor.SetParameters("%s,%s"%(editors["min"],editors["max"])) - elif editortype == "real": - editor = wx.grid.GridCellFloatEditor() - renderer = wx.grid.GridCellFloatRenderer() - if colname == "value" and "min" in editors and "max" in editors: - editor.SetParameters("%s,%s"%(editors["min"],editors["max"])) + elif editortype == "float": + editor = wx.grid.GridCellTextEditor() + renderer = wx.grid.GridCellStringRenderer() elif editortype == "bool": editor = wx.grid.GridCellChoiceEditor() editor.SetParameters(BoolList)