--- a/PLCOpenEditor.py Fri May 04 19:20:46 2012 +0200
+++ b/PLCOpenEditor.py Tue May 15 05:19:13 2012 +0900
@@ -4486,11 +4486,12 @@
items = [(idx, item) for idx, item in enumerate(self.Table.GetData())]
items.reverse()
for idx, item in items:
- if self.GetDataType(item.GetVariable().upper()) is None:
+ iec_path = item.GetVariable().upper()
+ if self.GetDataType(iec_path) is None:
self.RemoveDataConsumer(item)
self.Table.RemoveItem(idx)
else:
- self.AddDataConsumer(iec_path.upper(), item)
+ self.AddDataConsumer(iec_path, item)
self.Freeze()
self.Table.ResetView(self.VariablesGrid)
self.VariablesGrid.RefreshButtons()