mirror of
https://github.com/ankitects/anki.git
synced 2025-09-18 14:02:21 -04:00
Set parent of sync error dialog
This commit is contained in:
parent
5c07c899ec
commit
74556b81ba
1 changed files with 1 additions and 1 deletions
|
@ -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:
|
||||
|
|
Loading…
Reference in a new issue