equal
deleted
inserted
replaced
152 editor.SetParameters(self.Parent.VariableList) |
152 editor.SetParameters(self.Parent.VariableList) |
153 if self.GetValueByName(row, "Triggering") != "Interrupt": |
153 if self.GetValueByName(row, "Triggering") != "Interrupt": |
154 grid.SetReadOnly(row, col, True) |
154 grid.SetReadOnly(row, col, True) |
155 elif colname == "Triggering": |
155 elif colname == "Triggering": |
156 editor = wx.grid.GridCellChoiceEditor() |
156 editor = wx.grid.GridCellChoiceEditor() |
157 editor.SetParameters(",".join([""] + map(_, GetTaskTriggeringOptions()))) |
157 editor.SetParameters(",".join(map(_, GetTaskTriggeringOptions()))) |
158 elif colname == "Type": |
158 elif colname == "Type": |
159 editor = wx.grid.GridCellChoiceEditor() |
159 editor = wx.grid.GridCellChoiceEditor() |
160 editor.SetParameters(self.Parent.TypeList) |
160 editor.SetParameters(self.Parent.TypeList) |
161 elif colname == "Priority": |
161 elif colname == "Priority": |
162 editor = wx.grid.GridCellNumberEditor() |
162 editor = wx.grid.GridCellNumberEditor() |