mirror of
https://github.com/ankitects/anki.git
synced 2025-09-18 14:02:21 -04:00
Insert gui_hook main_window_will_require_reset
* into AnkiQt.requireReset method
This commit is contained in:
parent
bff42d55db
commit
31323719bc
1 changed files with 1 additions and 1 deletions
|
@ -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):
|
||||
|
|
Loading…
Reference in a new issue