diff options
Diffstat (limited to 'qt-ui/models.cpp')
-rw-r--r-- | qt-ui/models.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/qt-ui/models.cpp b/qt-ui/models.cpp index 09b737179..167f54813 100644 --- a/qt-ui/models.cpp +++ b/qt-ui/models.cpp @@ -249,9 +249,9 @@ bool CylindersModel::setData(const QModelIndex &index, const QVariant &value, in case O2: if (CHANGED()) { cyl->gasmix.o2 = string_to_fraction(vString.toUtf8().data()); - pressure_t modppO2; - modppO2.mbar = 1600; - cyl->depth = gas_mod(&cyl->gasmix, modppO2); + pressure_t modpO2; + modpO2.mbar = 1600; + cyl->depth = gas_mod(&cyl->gasmix, modpO2); changed = true; } break; |