diff --git a/src/gui/folderstatusmodel.cpp b/src/gui/folderstatusmodel.cpp index 23d7bd7f9..0da7da875 100644 --- a/src/gui/folderstatusmodel.cpp +++ b/src/gui/folderstatusmodel.cpp @@ -704,7 +704,10 @@ void FolderStatusModel::slotFolderSyncStateChange() if (folderIndex < 0) { return; } SyncResult::Status state = f->syncResult().status(); - if (state == SyncResult::SyncPrepare) { + if (state == SyncResult::SyncPrepare + || state == SyncResult::Problem + || state == SyncResult::Success) { + // Reset the progress info before and after a sync. _folders[folderIndex]._progress = SubFolderInfo::Progress(); } else if (state == SyncResult::Error) { _folders[folderIndex]._progress._progressString = f->syncResult().errorString();