diff -r ccf59c1f0b45 -r c1e5b9f19483 dialogs/FBDVariableDialog.py --- 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)