summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Anton Lundin <glance@acc.umu.se>2015-09-25 00:59:06 +0200
committerGravatar Dirk Hohndel <dirk@hohndel.org>2015-09-25 09:56:58 -0700
commit07b4bdd1b394d41dc9e9f76e4a26860ca4e1d74b (patch)
tree57fe6a8f852fd5a4ddd65a0aaae3fc04ae3f21b4
parent117de891c7a67d1a2d5cd3975526608a6456295d (diff)
downloadsubsurface-07b4bdd1b394d41dc9e9f76e4a26860ca4e1d74b.tar.gz
Reset progressbar on disconnect
Signed-off-by: Anton Lundin <glance@acc.umu.se> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
-rw-r--r--qt-ui/configuredivecomputerdialog.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/qt-ui/configuredivecomputerdialog.cpp b/qt-ui/configuredivecomputerdialog.cpp
index f42680bf8..560d0c28f 100644
--- a/qt-ui/configuredivecomputerdialog.cpp
+++ b/qt-ui/configuredivecomputerdialog.cpp
@@ -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);
}