diff --git a/qt/aqt/browser/previewer.py b/qt/aqt/browser/previewer.py index fb36c4def..c3eaf573b 100644 --- a/qt/aqt/browser/previewer.py +++ b/qt/aqt/browser/previewer.py @@ -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":