--- a/src/eric7/Debugger/VariableDetailDialog.py Wed Jul 13 11:16:20 2022 +0200 +++ b/src/eric7/Debugger/VariableDetailDialog.py Wed Jul 13 14:55:47 2022 +0200 @@ -15,22 +15,23 @@ class VariableDetailDialog(QDialog, Ui_VariableDetailDialog): """ Class implementing the variable detail dialog. - + This dialog shows the name, the type and the value of a variable in a read only dialog. It is opened upon a double click in the variables viewer widget. """ + def __init__(self, var, vtype, value): """ Constructor - + @param var the variables name (string) @param vtype the variables type (string) @param value the variables value (string) """ super().__init__() self.setupUi(self) - + # set the different fields self.eName.setText(var) self.eType.setText(vtype)