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

@ -6,6 +6,7 @@ Changelog [format](http://keepachangelog.com/en/1.0.0/)
### Fixed
* GODT-847 Waiting for unilateral update during deleting the message.
* GODT-849 Show in error counts in the end also lost messages.
## [IE 1.2.0] Elbe

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())