aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--configuredivecomputer.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/configuredivecomputer.cpp b/configuredivecomputer.cpp
index 9a708ad6e..884b2dd54 100644
--- a/configuredivecomputer.cpp
+++ b/configuredivecomputer.cpp
@@ -571,7 +571,7 @@ void ConfigureDiveComputer::writeThreadFinished()
void ConfigureDiveComputer::firmwareThreadFinished()
{
setState(DONE);
- if (resetThread->lastError.isEmpty()) {
+ if (firmwareThread->lastError.isEmpty()) {
//No error
emit message(tr("Device firmware successfully updated"));
}