Fix Anki closing before 'clock is off' message appears
Also fix it showing HTML code instead of formatted text
This commit is contained in:
parent
3afb77ff41
commit
2241d2fd9d
@ -31,8 +31,12 @@ def check_for_update() -> None:
|
||||
warn = (
|
||||
tr.qt_misc_in_order_to_ensure_your_collection(val="%s") % diff_text
|
||||
)
|
||||
show_warning(warn)
|
||||
mw.app.closeAllWindows()
|
||||
show_warning(
|
||||
warn,
|
||||
parent=mw,
|
||||
textFormat=Qt.TextFormat.RichText,
|
||||
callback=mw.app.closeAllWindows,
|
||||
)
|
||||
return
|
||||
# should we show a message?
|
||||
if msg := resp.message:
|
||||
|
Loading…
Reference in New Issue
Block a user