diff -r 097199aec4bd -r 0222a480e93d src/eric7/DataViews/PyCoverageDialog.py --- a/src/eric7/DataViews/PyCoverageDialog.py Tue May 02 10:20:23 2023 +0200 +++ b/src/eric7/DataViews/PyCoverageDialog.py Sat May 27 19:02:58 2023 +0200 @@ -301,6 +301,16 @@ ) self.summaryList.header().setStretchLastSection(True) + def closeEvent(self, evt): + """ + Protected method to handle the close event. + + @param evt reference to the close event + @type QCloseEvent + """ + self.cancelled = True + # The rest is done by the start() method. + def on_buttonBox_clicked(self, button): """ Private slot called by a button of the button box clicked.