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:
parent
f353ef023f
commit
f3484d1148
@ -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()
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user