From 31323719bcf3ef54c53bcc94b225ca7c6ac58c6b Mon Sep 17 00:00:00 2001 From: Henrik Giesel Date: Sat, 8 Aug 2020 15:08:30 +0200 Subject: [PATCH] Insert gui_hook main_window_will_require_reset * into AnkiQt.requireReset method --- qt/aqt/main.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/qt/aqt/main.py b/qt/aqt/main.py index e1d680a4f..6861eaeec 100644 --- a/qt/aqt/main.py +++ b/qt/aqt/main.py @@ -688,7 +688,7 @@ from the profile screen." "Signal queue needs to be rebuilt when edits are finished or by user." self.autosave() self.resetModal = modal - if self.interactiveState(): + if gui_hooks.main_window_will_require_reset(self.interactiveState()): self.moveToState("resetRequired") def interactiveState(self):