Fixed Triggering column cell choice editor, removing useless and bugging empty string option
authorLaurent Bessard
Tue, 09 Apr 2013 18:42:47 +0200
changeset 1026 96a2dc05651a
parent 1025 36e38d3c28b2
child 1027 4e44c2c3e081
child 1028 0ddbc39c91ee
Fixed Triggering column cell choice editor, removing useless and bugging empty string option
editors/ResourceEditor.py
--- a/editors/ResourceEditor.py	Tue Apr 09 18:41:24 2013 +0200
+++ b/editors/ResourceEditor.py	Tue Apr 09 18:42:47 2013 +0200
@@ -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)