diff -r b918c6c2736b -r a671918232f3 src/eric7/Debugger/WatchPointViewer.py --- 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):