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:
Anton Lundin 2015-09-25 00:59:06 +02:00 committed by Dirk Hohndel
parent 117de891c7
commit 07b4bdd1b3

View file

@ -1248,4 +1248,5 @@ void ConfigureDiveComputerDialog::dc_close()
ui.logToFile->setEnabled(true);
ui.updateFirmwareButton->setEnabled(false);
ui.progressBar->setFormat("Disonnected from device");
ui.progressBar->setValue(0);
}