mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
Reset progressbar on disconnect
Signed-off-by: Anton Lundin <glance@acc.umu.se> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
parent
117de891c7
commit
07b4bdd1b3
1 changed files with 1 additions and 0 deletions
|
@ -1248,4 +1248,5 @@ void ConfigureDiveComputerDialog::dc_close()
|
||||||
ui.logToFile->setEnabled(true);
|
ui.logToFile->setEnabled(true);
|
||||||
ui.updateFirmwareButton->setEnabled(false);
|
ui.updateFirmwareButton->setEnabled(false);
|
||||||
ui.progressBar->setFormat("Disonnected from device");
|
ui.progressBar->setFormat("Disonnected from device");
|
||||||
|
ui.progressBar->setValue(0);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue