Fix UI hanging when update check stalls

https://forums.ankiweb.net/t/anki-24-10-beta/49989/222
This commit is contained in:
Damien Elmes 2024-10-15 21:32:46 +10:00
parent 111cefe8f1
commit e77632d7b2

View file

@ -52,7 +52,7 @@ def check_for_update() -> None:
QueryOp(parent=mw, op=do_check, success=on_done).failure(
on_fail
).run_in_background()
).without_collection().run_in_background()
def prompt_to_update(mw: aqt.AnkiQt, ver: str) -> None: