summaryrefslogtreecommitdiffstats
path: root/configuredivecomputer.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'configuredivecomputer.cpp')
-rw-r--r--configuredivecomputer.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/configuredivecomputer.cpp b/configuredivecomputer.cpp
index addc2a728..2a7a8d95c 100644
--- a/configuredivecomputer.cpp
+++ b/configuredivecomputer.cpp
@@ -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") {