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