mirror of
https://github.com/ankitects/anki.git
synced 2026-01-05 18:13:56 -05:00
Fix media synchronization progress dialog not updating
When an error occurred, the progress dialog incorrectly continued to display the last recorded progress.
This commit is contained in:
parent
8f2144534b
commit
5d89b8b3d0
2 changed files with 2 additions and 0 deletions
|
|
@ -256,6 +256,7 @@ Eltaurus <https://github.com/Eltaurus-Lt>
|
|||
jariji
|
||||
Francisco Esteva <fr.esteva@duocuc.cl>
|
||||
SelfishPig <https://github.com/SelfishPig>
|
||||
Michael Lappas <https://github.com/michaellappas>
|
||||
|
||||
********************
|
||||
|
||||
|
|
|
|||
|
|
@ -93,6 +93,7 @@ class MediaSyncer:
|
|||
elif is_periodic_sync:
|
||||
print(str(exc))
|
||||
else:
|
||||
self._update_progress(tr.sync_media_failed())
|
||||
show_info(str(exc), modality=Qt.WindowModality.NonModal)
|
||||
|
||||
def abort(self) -> None:
|
||||
|
|
|
|||
Loading…
Reference in a new issue