# HG changeset patch # User Laurent Bessard # Date 1365525767 -7200 # Node ID 96a2dc05651a1577cc71915650dd8678c14842db # Parent 36e38d3c28b232fd17d00b7648cc8bcff376c9f1 Fixed Triggering column cell choice editor, removing useless and bugging empty string option diff -r 36e38d3c28b2 -r 96a2dc05651a 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)