eric6/Preferences/ToolConfigurationDialog.py

changeset 7263
c1af2e327675
parent 7229
53054eb5b15a
child 7360
9190402e4505
--- 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):

eric ide

mercurial