eric6/Debugger/BreakPointViewer.py

changeset 7759
51aa6c6b66f7
parent 7360
9190402e4505
child 7780
41420f82c0ac
--- a/eric6/Debugger/BreakPointViewer.py	Mon Oct 05 19:51:55 2020 +0200
+++ b/eric6/Debugger/BreakPointViewer.py	Tue Oct 06 17:52:44 2020 +0200
@@ -238,7 +238,7 @@
         dlg = EditBreakpointDialog((self.fnHistory[0], None), None,
                                    self.condHistory, self, modal=1,
                                    addMode=1, filenameHistory=self.fnHistory)
-        if dlg.exec_() == QDialog.Accepted:
+        if dlg.exec() == QDialog.Accepted:
             fn, line, cond, temp, enabled, count = dlg.getAddData()
             if fn is not None:
                 if fn in self.fnHistory:
@@ -291,7 +291,7 @@
             dlg = EditBreakpointDialog(
                 (fn, line), (cond, temp, enabled, count),
                 self.condHistory, self, modal=True)
-            if dlg.exec_() == QDialog.Accepted:
+            if dlg.exec() == QDialog.Accepted:
                 cond, temp, enabled, count = dlg.getData()
                 if cond:
                     if cond in self.condHistory:

eric ide

mercurial