eric6/Debugger/WatchPointViewer.py

changeset 7759
51aa6c6b66f7
parent 7360
9190402e4505
child 7780
41420f82c0ac
--- a/eric6/Debugger/WatchPointViewer.py	Mon Oct 05 19:51:55 2020 +0200
+++ b/eric6/Debugger/WatchPointViewer.py	Tue Oct 06 17:52:44 2020 +0200
@@ -260,7 +260,7 @@
         """
         from .EditWatchpointDialog import EditWatchpointDialog
         dlg = EditWatchpointDialog(("", False, True, 0, ""), self)
-        if dlg.exec_() == QDialog.Accepted:
+        if dlg.exec() == QDialog.Accepted:
             cond, temp, enabled, ignorecount, special = dlg.getData()
             if not self.__findDuplicates(cond, special, True):
                 self.__model.addWatchPoint(cond, special,
@@ -302,7 +302,7 @@
             from .EditWatchpointDialog import EditWatchpointDialog
             dlg = EditWatchpointDialog(
                 (cond, temp, enabled, count, special), self)
-            if dlg.exec_() == QDialog.Accepted:
+            if dlg.exec() == QDialog.Accepted:
                 cond, temp, enabled, count, special = dlg.getData()
                 if not self.__findDuplicates(cond, special, True, sindex):
                     self.__model.setWatchPointByIndex(

eric ide

mercurial