editors/ResourceEditor.py
branch1.1 Korean release
changeset 1280 72a826dfcfbb
parent 1275 8d4de18c9f29
child 1420 71b1545d746f
--- a/editors/ResourceEditor.py	Wed Mar 13 12:34:55 2013 +0900
+++ b/editors/ResourceEditor.py	Wed Jul 31 10:45:07 2013 +0900
@@ -140,7 +140,7 @@
                     editor = wx.grid.GridCellTextEditor()
                     renderer = wx.grid.GridCellStringRenderer()
                 elif colname == "Interval":
-                    editor = DurationCellEditor(self)
+                    editor = DurationCellEditor(self, colname)
                     renderer = wx.grid.GridCellStringRenderer()
                     if self.GetValueByName(row, "Triggering") != "Cyclic":
                         grid.SetReadOnly(row, col, True)
@@ -154,7 +154,7 @@
                         grid.SetReadOnly(row, col, True)
                 elif colname == "Triggering":
                     editor = wx.grid.GridCellChoiceEditor()
-                    editor.SetParameters(",".join([""] + map(_, GetTaskTriggeringOptions())))
+                    editor.SetParameters(",".join(map(_, GetTaskTriggeringOptions())))
                 elif colname == "Type":
                     editor = wx.grid.GridCellChoiceEditor()
                     editor.SetParameters(self.Parent.TypeList)