Show in error counts also lost messages at the end report

This commit is contained in:
Michal Horejsek
2020-10-30 08:47:58 +01:00
parent ac71d22e86
commit 3727ecdfe5
2 changed files with 4 additions and 0 deletions

View File

@ -349,6 +349,9 @@ func (f *FrontendQt) setProgressManager(progress *transfer.Progress) {
}
}
}
// Counts will add lost messages only once the progress is completeled.
failed, _, _, _, _ := progress.GetCounts()
f.Qml.SetProgressFails(int(failed))
if err := progress.GetFatalError(); err != nil {
f.Qml.SetProgressDescription(err.Error())