From 816863dccf99dd92ed6c059646f5a9dd6fb41930 Mon Sep 17 00:00:00 2001 From: Dirk Hohndel Date: Thu, 15 Jun 2017 02:24:48 -0700 Subject: [PATCH] Correctly hook up libdivecomputer log and dump This was checking the status of the wrong UI elements. Signed-off-by: Dirk Hohndel --- desktop-widgets/downloadfromdivecomputer.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/desktop-widgets/downloadfromdivecomputer.cpp b/desktop-widgets/downloadfromdivecomputer.cpp index 5400f62ed..0c7213936 100644 --- a/desktop-widgets/downloadfromdivecomputer.cpp +++ b/desktop-widgets/downloadfromdivecomputer.cpp @@ -285,8 +285,8 @@ void DownloadFromDCWidget::on_downloadCancelRetryButton_clicked() data->setForceDownload(ui.forceDownload->isChecked()); data->setCreateNewTrip(ui.createNewTrip->isChecked()); - data->setSaveLog(ui.chooseLogFile->isChecked()); - data->setSaveDump(ui.chooseDumpFile->isChecked()); + data->setSaveLog(ui.logToFile->isChecked()); + data->setSaveDump(ui.dumpToFile->isChecked()); auto dc = SettingsObjectWrapper::instance()->dive_computer_settings; dc->setVendor(data->vendor());