dialogs/BlockPreviewDialog.py
changeset 1329 9d0cb01312f0
parent 1311 85ca4fa0720b
child 1347 533741e5075c
equal deleted inserted replaced
1288:adc79fc44079 1329:9d0cb01312f0
   175                                                         self.TagName)
   175                                                         self.TagName)
   176             if var["Edit"]}
   176             if var["Edit"]}
   177         
   177         
   178         # Add POU name to variable list if POU is a function 
   178         # Add POU name to variable list if POU is a function 
   179         returntype = self.Controller.GetEditedElementInterfaceReturnType(
   179         returntype = self.Controller.GetEditedElementInterfaceReturnType(
   180                                                             self.TagName)
   180                                                             self.TagName)[0]
   181         if returntype is not None:
   181         if returntype is not None:
   182             self.VariableList[
   182             self.VariableList[
   183                 self.Controller.GetEditedElementName(self.TagName)] = \
   183                 self.Controller.GetEditedElementName(self.TagName)] = \
   184                  ("Output", returntype)
   184                  ("Output", returntype)
   185         
   185