mirror of
https://github.com/ankitects/anki.git
synced 2025-09-20 15:02:21 -04:00
parent
cfc6bc6548
commit
183d69be22
1 changed files with 1 additions and 0 deletions
|
@ -323,6 +323,7 @@ class ProgressDialog(QDialog):
|
||||||
def cancel(self) -> None:
|
def cancel(self) -> None:
|
||||||
self._closingDown = True
|
self._closingDown = True
|
||||||
self.hide()
|
self.hide()
|
||||||
|
self.deleteLater()
|
||||||
|
|
||||||
def closeEvent(self, evt: QCloseEvent) -> None:
|
def closeEvent(self, evt: QCloseEvent) -> None:
|
||||||
if self._closingDown:
|
if self._closingDown:
|
||||||
|
|
Loading…
Reference in a new issue