Bug with location drag&drop fixed
authorlbessard
Wed, 10 Sep 2008 16:46:51 +0200
changeset 266 4f102c996fa3
parent 265 23aad5ae0dc1
child 267 a95bfb76a1eb
Bug with location drag&drop fixed
PLCOpenEditor.py
--- a/PLCOpenEditor.py	Wed Sep 10 16:46:22 2008 +0200
+++ b/PLCOpenEditor.py	Wed Sep 10 16:46:51 2008 +0200
@@ -3732,7 +3732,7 @@
                 if values is not None and values[1] == "location":
                     location = values[0]
                     variable_type = self.ParentWindow.Table.GetValueByName(row, "Type")
-                    base_type = self.ParentWindow.Controler.GetBaseType(variable_type, self.Debug)
+                    base_type = self.ParentWindow.Controler.GetBaseType(variable_type)
                     message = None
                     if location.startswith("%"):
                         if base_type != values[2]: