summaryrefslogtreecommitdiffstats
path: root/qt-ui/configuredivecomputerdialog.cpp
diff options
context:
space:
mode:
authorGravatar Anton Lundin <glance@acc.umu.se>2014-10-10 07:34:13 +0200
committerGravatar Dirk Hohndel <dirk@hohndel.org>2014-10-10 02:43:42 -0400
commitf3484d1148318160330ab8d0a84ff9be905344c1 (patch)
tree6ae210127b050b45693a8606962741caf1889bb5 /qt-ui/configuredivecomputerdialog.cpp
parentf353ef023ff0ed34b68c04109933623ee27198b1 (diff)
downloadsubsurface-f3484d1148318160330ab8d0a84ff9be905344c1.tar.gz
Actually set the setpoints to the OSTC3
The setpoints filled in into the ui where never set on the devicedetails object so they where never propagated to backup or write settings. Signed-off-by: Anton Lundin <glance@acc.umu.se> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
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 109ac3a9f..cfc1b8d54 100644
--- a/qt-ui/configuredivecomputerdialog.cpp
+++ b/qt-ui/configuredivecomputerdialog.cpp
@@ -228,6 +228,12 @@ void ConfigureDiveComputerDialog::populateDeviceDetails()
sp5.sp = ui->ostc3SetPointTable->item(4, 1)->text().toInt();
sp5.depth = ui->ostc3SetPointTable->item(4, 2)->text().toInt();
+
+ deviceDetails->setSp1(sp1);
+ deviceDetails->setSp2(sp2);
+ deviceDetails->setSp3(sp3);
+ deviceDetails->setSp4(sp4);
+ deviceDetails->setSp5(sp5);
}
void ConfigureDiveComputerDialog::readSettings()