From 661f78557f13c923873f5d3416cbfc80539e603c Mon Sep 17 00:00:00 2001 From: Damien Elmes Date: Mon, 28 Jul 2025 17:51:27 +1000 Subject: [PATCH] Fix sync server message failing to persist It was disappearing immediately on macOS --- qt/aqt/sync.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/qt/aqt/sync.py b/qt/aqt/sync.py index bedc05f8e..94ce0c8c1 100644 --- a/qt/aqt/sync.py +++ b/qt/aqt/sync.py @@ -118,7 +118,7 @@ def sync_collection(mw: aqt.main.AnkiQt, on_done: Callable[[], None]) -> None: if out.new_endpoint: mw.pm.set_current_sync_url(out.new_endpoint) if out.server_message: - showText(out.server_message) + showText(out.server_message, parent=mw) if out.required == out.NO_CHANGES: tooltip(parent=mw, msg=tr.sync_collection_complete()) # all done; track media progress