controls/VariablePanel.py
changeset 1380 10ac2b18437b
parent 1361 7158aa054226
child 1412 50192dd2f5ff
--- a/controls/VariablePanel.py	Thu Dec 05 18:00:15 2013 +0100
+++ b/controls/VariablePanel.py	Thu Dec 05 18:08:31 2013 +0100
@@ -623,7 +623,8 @@
         return self.TagName
     
     def IsFunctionBlockType(self, name):
-        if self.ElementType != "function" and self.BodyType in ["ST", "IL"]:
+        if (isinstance(name, TupleType) or 
+            self.ElementType != "function" and self.BodyType in ["ST", "IL"]):
             return False
         else:
             return self.Controler.GetBlockType(name, debug=self.Debug) is not None