--- 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(