diff options
Diffstat (limited to 'qt-ui/downloadfromdivecomputer.cpp')
-rw-r--r-- | qt-ui/downloadfromdivecomputer.cpp | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/qt-ui/downloadfromdivecomputer.cpp b/qt-ui/downloadfromdivecomputer.cpp index 7e18dae70..1fef9f6bf 100644 --- a/qt-ui/downloadfromdivecomputer.cpp +++ b/qt-ui/downloadfromdivecomputer.cpp @@ -298,14 +298,6 @@ void DownloadFromDCWidget::on_downloadCancelRetryButton_clicked() diveImportedModel->clearTable(); clear_table(&downloadTable); } - if (ui.vendor->currentText() == "Uemis") { - if (currentState == ERROR && downloadTable.nr > 0) - // let the uemis code know how far we've gotten - uemis_set_max_diveid_from_dialog(downloadTable.dives[downloadTable.nr - 1]->dc.diveid); - else - // fresh download, so only look at what's in the dive_table - uemis_set_max_diveid_from_dialog(0); - } updateState(DOWNLOADING); // you cannot cancel the dialog, just the download |