diff -r c4b5f3393d63 -r c1af2e327675 eric6/Preferences/ToolConfigurationDialog.py --- a/eric6/Preferences/ToolConfigurationDialog.py Tue Sep 24 18:45:33 2019 +0200 +++ b/eric6/Preferences/ToolConfigurationDialog.py Tue Sep 24 18:46:24 2019 +0200 @@ -327,9 +327,11 @@ Private slot to perform actions when a tool entry was changed. """ row = self.toolsList.currentRow() - if row >= 0 and \ - row < len(self.toollist) and \ - self.toollist[row]['menutext'] != '--': + if ( + row >= 0 and + row < len(self.toollist) and + self.toollist[row]['menutext'] != '--' + ): self.changeButton.setEnabled(True) def on_menuEdit_textChanged(self, text):