mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
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
1 changed files with 6 additions and 0 deletions
|
@ -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…
Add table
Reference in a new issue