mirror of
https://github.com/ankitects/anki.git
synced 2025-09-18 22:12: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:
|
||||
self._closingDown = True
|
||||
self.hide()
|
||||
self.deleteLater()
|
||||
|
||||
def closeEvent(self, evt: QCloseEvent) -> None:
|
||||
if self._closingDown:
|
||||
|
|
Loading…
Reference in a new issue