diff -r 1009f956d2ee -r 0f97bddb5a30 controls/VariablePanel.py --- a/controls/VariablePanel.py Tue Oct 16 11:34:24 2012 +0200 +++ b/controls/VariablePanel.py Tue Oct 16 18:58:45 2012 +0200 @@ -580,8 +580,8 @@ else: if self.ElementType == "function": self.ReturnType.Clear() - for base_type in self.Controler.GetDataTypes(self.TagName, True, debug=self.Debug): - self.ReturnType.Append(base_type) + for data_type in self.Controler.GetDataTypes(self.TagName, debug=self.Debug): + self.ReturnType.Append(data_type) returnType = self.Controler.GetEditedElementInterfaceReturnType(self.TagName) description = self.Controler.GetPouDescription(words[1]) self.PouIsUsed = self.Controler.PouIsUsed(words[1])