dialogs/FBDVariableDialog.py
changeset 1847 6198190bc121
parent 1782 5b6ad7a7fd9d
child 1853 47a3f39bead0
equal deleted inserted replaced
1846:14b40afccd69 1847:6198190bc121
   144                             self.Class.GetStringSelection()]
   144                             self.Class.GetStringSelection()]
   145 
   145 
   146         # Refresh names in name list box by selecting variables in POU variables
   146         # Refresh names in name list box by selecting variables in POU variables
   147         # list that can be applied to variable class
   147         # list that can be applied to variable class
   148         self.VariableName.Clear()
   148         self.VariableName.Clear()
   149         for name, (var_type, value_type) in self.VariableList.iteritems():
   149         for name, (var_type, _value_type) in self.VariableList.iteritems():
   150             if var_type != "Input" or var_class == INPUT:
   150             if var_type != "Input" or var_class == INPUT:
   151                 self.VariableName.Append(name)
   151                 self.VariableName.Append(name)
   152 
   152 
   153         # Get variable expression and select corresponding value in name list
   153         # Get variable expression and select corresponding value in name list
   154         # box if it exists
   154         # box if it exists