mirror of
https://github.com/ankitects/anki.git
synced 2026-01-13 22:13:58 -05:00
Fix previewer runtime error "deleted" (#1830)
This commit is contained in:
parent
0c1f7a99b5
commit
c70de3e275
1 changed files with 1 additions and 1 deletions
|
|
@ -106,7 +106,7 @@ class Previewer(QDialog):
|
|||
|
||||
def _on_finished(self, ok: int) -> None:
|
||||
saveGeom(self, "preview")
|
||||
self.mw.progress.single_shot(100, self._on_close)
|
||||
self._on_close()
|
||||
|
||||
def _on_replay_audio(self) -> None:
|
||||
if self._state == "question":
|
||||
|
|
|
|||
Loading…
Reference in a new issue