summaryrefslogtreecommitdiffstats
path: root/qt-ui/configuredivecomputerdialog.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'qt-ui/configuredivecomputerdialog.cpp')
-rw-r--r--qt-ui/configuredivecomputerdialog.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/qt-ui/configuredivecomputerdialog.cpp b/qt-ui/configuredivecomputerdialog.cpp
index 6e01202a7..04c15b1b4 100644
--- a/qt-ui/configuredivecomputerdialog.cpp
+++ b/qt-ui/configuredivecomputerdialog.cpp
@@ -566,6 +566,9 @@ void ConfigureDiveComputerDialog::populateDeviceDetailsOSTC()
deviceDetails->aGFSelectable = ui.aGFSelectableCheckBox_3->isChecked();
deviceDetails->aGFHigh = ui.aGFHighSpinBox_3->value();
deviceDetails->aGFLow = ui.aGFLowSpinBox_3->value();
+ deviceDetails->bottomGasConsumption = ui.bottomGasConsumption_3->value();
+ deviceDetails->decoGasConsumption = ui.decoGasConsumption_3->value();
+ deviceDetails->graphicalSpeedIndicator = ui.graphicalSpeedIndicator_3->isChecked();
//set gas values
gas gas1;
@@ -932,6 +935,9 @@ setNumberOfDives
ui.aGFHighSpinBox_3->setValue(deviceDetails->aGFHigh);
ui.aGFLowSpinBox_3->setValue(deviceDetails->aGFLow);
ui.numberOfDivesSpinBox_3->setValue(deviceDetails->numberOfDives);
+ ui.bottomGasConsumption_3->setValue(deviceDetails->bottomGasConsumption);
+ ui.decoGasConsumption_3->setValue(deviceDetails->decoGasConsumption);
+ ui.graphicalSpeedIndicator_3->setChecked(deviceDetails->graphicalSpeedIndicator);
//load gas 1 values
ui.ostcGasTable->setItem(0, 1, new QTableWidgetItem(QString::number(deviceDetails->gas1.oxygen)));