src/eric7/Debugger/WatchPointViewer.py

branch
eric7
changeset 11006
a671918232f3
parent 10928
46651e194fbe
child 11090
f5f5f5803935
--- a/src/eric7/Debugger/WatchPointViewer.py	Fri Oct 25 09:47:48 2024 +0200
+++ b/src/eric7/Debugger/WatchPointViewer.py	Fri Oct 25 17:58:59 2024 +0200
@@ -267,7 +267,7 @@
         """
         from .EditWatchpointDialog import EditWatchpointDialog
 
-        dlg = EditWatchpointDialog(("", False, True, 0, ""), self)
+        dlg = EditWatchpointDialog(("", False, True, 0, ""), parent=self)
         if dlg.exec() == QDialog.DialogCode.Accepted:
             cond, temp, enabled, ignorecount, special = dlg.getData()
             if not self.__findDuplicates(cond, special, True):
@@ -310,7 +310,9 @@
 
             cond, special, temp, enabled, count = wp[:5]
 
-            dlg = EditWatchpointDialog((cond, temp, enabled, count, special), self)
+            dlg = EditWatchpointDialog(
+                (cond, temp, enabled, count, special), parent=self
+            )
             if dlg.exec() == QDialog.DialogCode.Accepted:
                 cond, temp, enabled, count, special = dlg.getData()
                 if not self.__findDuplicates(cond, special, True, sindex):

eric ide

mercurial