--- a/Templates/TemplateSingleVariableDialog.py Sun Jun 19 17:50:39 2011 +0200 +++ b/Templates/TemplateSingleVariableDialog.py Sun Jun 19 19:36:27 2011 +0200 @@ -23,7 +23,7 @@ @param variable template variable name (string) @param parent parent widget of this dialog (QWidget) """ - QDialog.__init__(self, parent) + super().__init__(parent) self.setupUi(self) self.variableLabel.setText(variable)