dialogs/FBDVariableDialog.py
changeset 1766 c1e5b9f19483
parent 1745 f9d32913bad4
child 1768 691083b5682a
--- a/dialogs/FBDVariableDialog.py	Thu Aug 17 16:26:32 2017 +0300
+++ b/dialogs/FBDVariableDialog.py	Thu Aug 17 17:25:17 2017 +0300
@@ -152,8 +152,7 @@
         # Get variable expression and select corresponding value in name list
         # box if it exists
         selected = self.Expression.GetValue()
-        if (selected != "" and
-            self.VariableName.FindString(selected) != wx.NOT_FOUND):
+        if selected != "" and self.VariableName.FindString(selected) != wx.NOT_FOUND:
             self.VariableName.SetStringSelection(selected)
         else:
             self.VariableName.SetSelection(wx.NOT_FOUND)