eric6/Debugger/EditWatchpointDialog.py

changeset 7251
bc5b1b00560a
parent 7229
53054eb5b15a
child 7360
9190402e4505
--- a/eric6/Debugger/EditWatchpointDialog.py	Sat Sep 21 13:03:17 2019 +0200
+++ b/eric6/Debugger/EditWatchpointDialog.py	Sat Sep 21 13:37:58 2019 +0200
@@ -77,11 +77,13 @@
         @param txt text of the line edit (string)
         """
         if self.conditionButton.isChecked():
-            self.buttonBox.button(QDialogButtonBox.Ok)\
-                .setEnabled(self.conditionEdit.text() != "")
+            self.buttonBox.button(
+                QDialogButtonBox.Ok
+            ).setEnabled(self.conditionEdit.text() != "")
         elif self.specialButton.isChecked():
-            self.buttonBox.button(QDialogButtonBox.Ok)\
-                .setEnabled(self.specialEdit.text() != "")
+            self.buttonBox.button(
+                QDialogButtonBox.Ok
+            ).setEnabled(self.specialEdit.text() != "")
         else:
             # should not happen
             self.buttonBox.button(QDialogButtonBox.Ok).setEnabled(False)

eric ide

mercurial