mirror of
https://github.com/ankitects/anki.git
synced 2026-01-13 22:13:58 -05:00
parent
f4acaa17cd
commit
129216fe23
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