Fix previewer runtime error "deleted" (#1830)
This commit is contained in:
parent
a3d9a25d18
commit
1e02980133
@ -106,7 +106,7 @@ class Previewer(QDialog):
|
|||||||
|
|
||||||
def _on_finished(self, ok: int) -> None:
|
def _on_finished(self, ok: int) -> None:
|
||||||
saveGeom(self, "preview")
|
saveGeom(self, "preview")
|
||||||
self.mw.progress.single_shot(100, self._on_close)
|
self._on_close()
|
||||||
|
|
||||||
def _on_replay_audio(self) -> None:
|
def _on_replay_audio(self) -> None:
|
||||||
if self._state == "question":
|
if self._state == "question":
|
||||||
|
Loading…
Reference in New Issue
Block a user