diff -r da5f1fa46f2b -r fb73a6b6622d dialogs/FBDVariableDialog.py --- a/dialogs/FBDVariableDialog.py Thu Oct 19 10:57:35 2017 +0300 +++ b/dialogs/FBDVariableDialog.py Thu Oct 19 11:03:03 2017 +0300 @@ -142,7 +142,7 @@ """ # Get variable class to select POU variable applicable var_class = VARIABLE_CLASSES_DICT_REVERSE[ - self.Class.GetStringSelection()] + self.Class.GetStringSelection()] # Refresh names in name list box by selecting variables in POU variables # list that can be applied to variable class @@ -205,7 +205,7 @@ expression = self.Expression.GetValue() values = { "class": VARIABLE_CLASSES_DICT_REVERSE[ - self.Class.GetStringSelection()], + self.Class.GetStringSelection()], "expression": expression, "var_type": self.VariableList.get(expression, (None, None))[1], "executionOrder": self.ExecutionOrder.GetValue()}