mirror of
https://github.com/ankitects/anki.git
synced 2025-09-24 08:46:37 -04:00
When cards become due, show overview instead of study screen
https://forums.ankiweb.net/t/anki-automatically-switches-from-decks-view-to-card-when-it-is-left-open-overnight/41853/3
This commit is contained in:
parent
a694889bca
commit
b2df6546aa
1 changed files with 1 additions and 1 deletions
|
@ -412,7 +412,7 @@ def _extract_request(
|
|||
|
||||
def congrats_info() -> bytes:
|
||||
if not aqt.mw.col.sched._is_finished():
|
||||
aqt.mw.taskman.run_on_main(lambda: aqt.mw.moveToState("review"))
|
||||
aqt.mw.taskman.run_on_main(lambda: aqt.mw.moveToState("overview"))
|
||||
return raw_backend_request("congrats_info")()
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue