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:
Anton Lundin 2014-10-18 00:33:37 +02:00 committed by Dirk Hohndel
parent 624f0e9b24
commit a8097df666

View file

@ -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") {