mirror of
https://github.com/subsurface/subsurface.git
synced 2025-01-31 22:23:24 +00:00
Download from divecomputer: reset progress bar fraction
Otherwise when retrying, the progress bar might already be reset, but its text might still show 100%. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
parent
82d37e7451
commit
d82e200d35
1 changed files with 1 additions and 0 deletions
|
@ -194,6 +194,7 @@ void DownloadFromDCWidget::updateState(states state)
|
|||
else if (state == DOWNLOADING) {
|
||||
timer->start();
|
||||
ui.progressBar->setValue(0);
|
||||
progress_bar_fraction = 0.0;
|
||||
updateProgressBar();
|
||||
ui.progressBar->show();
|
||||
markChildrenAsDisabled();
|
||||
|
|
Loading…
Add table
Reference in a new issue