mirror of
https://github.com/subsurface/subsurface.git
synced 2025-01-19 14:25:27 +00:00
Bugfix restore gas settings from xml
There was a typo, restoring gas2 over gas1. Signed-off-by: Anton Lundin <glance@acc.umu.se> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
parent
624f0e9b24
commit
a8097df666
1 changed files with 1 additions and 1 deletions
|
@ -257,7 +257,7 @@ bool ConfigureDiveComputer::restoreXMLBackup(QString fileName, DeviceDetails *de
|
|||
gas2.helium = gasData.at(1).toInt();
|
||||
gas2.type = gasData.at(2).toInt();
|
||||
gas2.depth = gasData.at(3).toInt();
|
||||
details->setGas1(gas2);
|
||||
details->setGas2(gas2);
|
||||
}
|
||||
|
||||
if (settingName == "Gas3") {
|
||||
|
|
Loading…
Add table
Reference in a new issue