--- a/dialogs/ActionBlockDialog.py Wed Oct 02 17:23:44 2013 +0200
+++ b/dialogs/ActionBlockDialog.py Wed Oct 02 17:58:16 2013 +0200
@@ -205,13 +205,14 @@
def SetValues(self, actions):
- if action.type == "reference" and action.value in self.ActionList:
- elif action.type == "reference" and action.value in self.VariableList:
- action.type = "Variable"
+ if row.type == "reference" and row.value in self.ActionList: + elif row.type == "reference" and row.value in self.VariableList:
- self.Table.SetData(actions)
+ self.Table.AppendRow(row) self.Table.ResetView(self.ActionsGrid)
self.ActionsGrid.SetGridCursor(0, 0)