Ensure DB check tooltip appears in main window

https://forums.ankiweb.net/t/is-this-bug-or-the-new-modification-in-anki-desktop/44072
This commit is contained in:
Damien Elmes 2024-04-30 23:21:41 +10:00
parent 074becc0ce
commit 22ecab1a0e

View file

@ -41,9 +41,9 @@ def check_db(mw: aqt.AnkiQt) -> None:
ret, ok = fut.result()
if not ok:
showText(ret)
showText(ret, parent=mw)
else:
tooltip(ret)
tooltip(ret, parent=mw)
# if an error has directed the user to check the database,
# silently clean up any broken reset hooks which distract from