Set parent of sync error dialog

This commit is contained in:
Abdo 2025-08-19 15:39:36 +03:00
parent 5c07c899ec
commit 74556b81ba

View file

@ -73,7 +73,7 @@ def handle_sync_error(mw: aqt.main.AnkiQt, err: Exception) -> None:
elif isinstance(err, Interrupted):
# no message to show
return
show_warning(str(err))
show_warning(str(err), parent=mw)
def on_normal_sync_timer(mw: aqt.main.AnkiQt) -> None: