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:
Michael Lappas 2026-01-03 11:05:41 -05:00
parent 8f2144534b
commit 5d89b8b3d0
2 changed files with 2 additions and 0 deletions

View file

@ -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>
********************

View file

@ -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: