dialogs/FBDVariableDialog.py
changeset 1878 fb73a6b6622d
parent 1853 47a3f39bead0
child 2301 5b8a7dd43f9f
--- 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()}