author | Laurent Bessard |
Thu, 05 Dec 2013 18:08:31 +0100 | |
changeset 1380 | 10ac2b18437b |
parent 1379 | 086f52b2feac |
child 1381 | 8b0a7eceb76d |
--- 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