mirror of
https://github.com/ankitects/anki.git
synced 2025-09-18 22:12:21 -04:00
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:
parent
074becc0ce
commit
22ecab1a0e
1 changed files with 2 additions and 2 deletions
|
@ -41,9 +41,9 @@ def check_db(mw: aqt.AnkiQt) -> None:
|
||||||
ret, ok = fut.result()
|
ret, ok = fut.result()
|
||||||
|
|
||||||
if not ok:
|
if not ok:
|
||||||
showText(ret)
|
showText(ret, parent=mw)
|
||||||
else:
|
else:
|
||||||
tooltip(ret)
|
tooltip(ret, parent=mw)
|
||||||
|
|
||||||
# if an error has directed the user to check the database,
|
# if an error has directed the user to check the database,
|
||||||
# silently clean up any broken reset hooks which distract from
|
# silently clean up any broken reset hooks which distract from
|
||||||
|
|
Loading…
Reference in a new issue