--- 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)