src/eric7/Debugger/VariableDetailDialog.py

branch
eric7
changeset 11006
a671918232f3
parent 10439
21c28b0f9e41
child 11090
f5f5f5803935
--- a/src/eric7/Debugger/VariableDetailDialog.py	Fri Oct 25 09:47:48 2024 +0200
+++ b/src/eric7/Debugger/VariableDetailDialog.py	Fri Oct 25 17:58:59 2024 +0200
@@ -21,7 +21,7 @@
     variables viewer widget.
     """
 
-    def __init__(self, var, vtype, value):
+    def __init__(self, var, vtype, value, parent=None):
         """
         Constructor
 
@@ -31,8 +31,10 @@
         @type str
         @param value the variables value
         @type str
+        @param parent reference to the parent widget (defaults to None)
+        @type QWidget (optional)
         """
-        super().__init__()
+        super().__init__(parent=parent)
         self.setupUi(self)
 
         # set the different fields

eric ide

mercurial