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>
This commit is contained in:
Dirk Hohndel 2017-06-15 02:24:48 -07:00
parent ec40a25007
commit 816863dccf

View file

@ -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());