mirror of
https://github.com/ProtonMail/proton-bridge.git
synced 2025-12-10 04:36:43 +00:00
Update total even if its zero
This commit is contained in:
@ -24,6 +24,7 @@ Changelog [format](http://keepachangelog.com/en/1.0.0/)
|
||||
* Generic bug report window title.
|
||||
* Fix missing check for unencrypted recipients during sending.
|
||||
* Version checking for catalina.
|
||||
* GODT-703 Import-Export showed always at least one total message.
|
||||
|
||||
|
||||
## [IE 1.0.x] Congo (v1.0.0 live 2020-09-08)
|
||||
|
||||
@ -338,9 +338,7 @@ func (f *FrontendQt) setProgressManager(progress *transfer.Progress) {
|
||||
break
|
||||
}
|
||||
failed, imported, _, _, total := progress.GetCounts()
|
||||
if total != 0 {
|
||||
f.Qml.SetTotal(int(total))
|
||||
}
|
||||
f.Qml.SetTotal(int(total))
|
||||
f.Qml.SetProgressFails(int(failed))
|
||||
f.Qml.SetProgressDescription(progress.PauseReason())
|
||||
if total > 0 {
|
||||
|
||||
Reference in New Issue
Block a user