mirror of
https://github.com/ankitects/anki.git
synced 2025-09-24 16:56:36 -04:00
Fix UI hanging when update check stalls
https://forums.ankiweb.net/t/anki-24-10-beta/49989/222
This commit is contained in:
parent
111cefe8f1
commit
e77632d7b2
1 changed files with 1 additions and 1 deletions
|
@ -52,7 +52,7 @@ def check_for_update() -> None:
|
||||||
|
|
||||||
QueryOp(parent=mw, op=do_check, success=on_done).failure(
|
QueryOp(parent=mw, op=do_check, success=on_done).failure(
|
||||||
on_fail
|
on_fail
|
||||||
).run_in_background()
|
).without_collection().run_in_background()
|
||||||
|
|
||||||
|
|
||||||
def prompt_to_update(mw: aqt.AnkiQt, ver: str) -> None:
|
def prompt_to_update(mw: aqt.AnkiQt, ver: str) -> None:
|
||||||
|
|
Loading…
Reference in a new issue