summaryrefslogtreecommitdiffstats
path: root/desktop-widgets/downloadfromdivecomputer.cpp
diff options
context:
space:
mode:
authorGravatar Dirk Hohndel <dirk@hohndel.org>2017-06-15 02:24:48 -0700
committerGravatar Dirk Hohndel <dirk@hohndel.org>2017-06-15 02:24:48 -0700
commit816863dccf99dd92ed6c059646f5a9dd6fb41930 (patch)
treeb54b876c662a5ea27539745fffdc685eba2ac758 /desktop-widgets/downloadfromdivecomputer.cpp
parentec40a25007ad0c5a202ceab9194b84c7a34928ca (diff)
downloadsubsurface-816863dccf99dd92ed6c059646f5a9dd6fb41930.tar.gz
Correctly hook up libdivecomputer log and dump
This was checking the status of the wrong UI elements. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'desktop-widgets/downloadfromdivecomputer.cpp')
-rw-r--r--desktop-widgets/downloadfromdivecomputer.cpp4
1 files 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());