diff options
-rw-r--r-- | desktop-widgets/downloadfromdivecomputer.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/desktop-widgets/downloadfromdivecomputer.cpp b/desktop-widgets/downloadfromdivecomputer.cpp index 57f1955ae..cb6af7bfd 100644 --- a/desktop-widgets/downloadfromdivecomputer.cpp +++ b/desktop-widgets/downloadfromdivecomputer.cpp @@ -367,7 +367,6 @@ void DownloadFromDCWidget::on_downloadCancelRetryButton_clicked() // this means we are retrying - so we better clean out the partial // list of downloaded dives from the last attempt diveImportedModel->clearTable(); - clear_dive_table(diveImportedModel->thread.table()); } updateState(DOWNLOADING); @@ -517,7 +516,7 @@ void DownloadFromDCWidget::on_cancel_clicked() return; // now discard all the dives - clear_dive_table(diveImportedModel->thread.table()); + diveImportedModel->clearTable(); done(-1); } |