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>
This commit is contained in:
Anton Lundin 2014-10-10 07:34:13 +02:00 committed by Dirk Hohndel
parent f353ef023f
commit f3484d1148

View file

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