summaryrefslogtreecommitdiffstats
path: root/qt-ui
diff options
context:
space:
mode:
Diffstat (limited to 'qt-ui')
-rw-r--r--qt-ui/downloadfromdivecomputer.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/qt-ui/downloadfromdivecomputer.cpp b/qt-ui/downloadfromdivecomputer.cpp
index c57aa1ef2..d4deff268 100644
--- a/qt-ui/downloadfromdivecomputer.cpp
+++ b/qt-ui/downloadfromdivecomputer.cpp
@@ -422,7 +422,7 @@ void DownloadFromDCWidget::on_ok_clicked()
{
struct dive *dive;
- if (currentState != DONE)
+ if (currentState != DONE && currentState != ERROR)
return;
// record all the dives in the 'real' dive_table