diff options
author | Dirk Hohndel <dirk@hohndel.org> | 2017-06-15 02:24:48 -0700 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2017-06-15 02:24:48 -0700 |
commit | 816863dccf99dd92ed6c059646f5a9dd6fb41930 (patch) | |
tree | b54b876c662a5ea27539745fffdc685eba2ac758 /desktop-widgets/downloadfromdivecomputer.cpp | |
parent | ec40a25007ad0c5a202ceab9194b84c7a34928ca (diff) | |
download | subsurface-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.cpp | 4 |
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()); |