src/eric7/DataViews/PyCoverageDialog.py

branch
eric7
changeset 10071
a74e32fa4d23
parent 9690
2dc33116df50
child 10076
649f7ca537ea
diff -r 9f5758c0fec1 -r a74e32fa4d23 src/eric7/DataViews/PyCoverageDialog.py
--- 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.

eric ide

mercurial