diff options
-rw-r--r-- | desktop-widgets/downloadfromdivecomputer.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/desktop-widgets/downloadfromdivecomputer.cpp b/desktop-widgets/downloadfromdivecomputer.cpp index 8940899f9..ba1196826 100644 --- a/desktop-widgets/downloadfromdivecomputer.cpp +++ b/desktop-widgets/downloadfromdivecomputer.cpp @@ -333,10 +333,10 @@ void DownloadFromDCWidget::on_downloadCancelRetryButton_clicked() QString product(ui.product->currentText()); // // We shouldn't do this for memory dumps. - if ((product == "OSTC 3" || product == "OSTC 3+" || - product == "OSTC cR" || product == "OSTC Sport" || - product == "OSTC 4") && ! data->saveDump()) - ostcFirmwareCheck = new OstcFirmwareCheck(product); + if ((product == "OSTC 3" || product == "OSTC 3+" || product == "OSTC cR" || + product == "OSTC Sport" || product == "OSTC 4") && !data->saveDump()) { + ostcFirmwareCheck = new OstcFirmwareCheck(product); + } } bool DownloadFromDCWidget::preferDownloaded() |