author | laurent |
Tue, 15 May 2012 05:19:13 +0900 (2012-05-14) | |
changeset 688 | 188906a7368c |
parent 680 | b693147fb2c3 |
child 689 | ce605c1a6d04 |
PLCOpenEditor.py | file | annotate | diff | comparison | revisions | |
debian/rules | file | annotate | diff | comparison | revisions | |
generate_IEC_std.py | file | annotate | diff | comparison | revisions | |
i18n/PLCOpenEditor_zh_CN.po | file | annotate | diff | comparison | revisions | |
xmlclass/po.xml | file | annotate | diff | comparison | revisions | |
xmlclass/test.xsd | file | annotate | diff | comparison | revisions | |
xmlclass/xmlclass.py | file | annotate | diff | comparison | revisions |
--- 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()