# HG changeset patch # User laurent # Date 1260217596 -3600 # Node ID a07115f79c27676664a1792218f0c5ae73896600 # Parent 9ee851841d2899535bf0707b0e35c66e42e2d5fc Bug on changing variable value text colour fixed diff -r 9ee851841d28 -r a07115f79c27 PLCOpenEditor.py --- a/PLCOpenEditor.py Mon Dec 07 20:42:55 2009 +0100 +++ b/PLCOpenEditor.py Mon Dec 07 21:26:36 2009 +0100 @@ -3972,9 +3972,9 @@ for col in range(self.GetNumberCols()): if self.GetColLabelValue(col, False) == "Value": if self.IsForced(row): - grid.SetCellTextColour(wx.RED, row, col) + grid.SetCellTextColour(row, col, wx.RED) else: - grid.SetCellTextColour(wx.BLACK, row, col) + grid.SetCellTextColour(row, col, wx.BLACK) grid.SetReadOnly(row, col, True) def SetData(self, data):