--- a/src/eric7/DataViews/PyCoverageDialog.py Thu May 25 19:52:31 2023 +0200 +++ b/src/eric7/DataViews/PyCoverageDialog.py Fri May 26 10:15:51 2023 +0200 @@ -301,6 +301,16 @@ ) self.summaryList.header().setStretchLastSection(True) + def closeEvent(self, evt): + """ + Public 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.