--- a/src/eric7/DataViews/PyProfileDialog.py Mon Apr 22 13:20:16 2024 +0200 +++ b/src/eric7/DataViews/PyProfileDialog.py Mon Apr 22 15:15:36 2024 +0200 @@ -321,11 +321,11 @@ self.buttonBox.button(QDialogButtonBox.StandardButton.Cancel).setEnabled(True) self.buttonBox.button(QDialogButtonBox.StandardButton.Cancel).setDefault(True) - def closeEvent(self, evt): + def closeEvent(self, _evt): """ Protected method to handle the close event. - @param evt reference to the close event + @param _evt reference to the close event (unused) @type QCloseEvent """ self.cancelled = True