diff options
author | Robert C. Helling <helling@atdotde.de> | 2019-03-26 10:35:41 +0100 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2019-03-29 06:51:12 -0700 |
commit | 30746e5d3f6b20a0603359f55f232fb082362f39 (patch) | |
tree | faed54f6be3a0e29afd00551ebb486a3eb9a64b1 /qt-models/cylindermodel.cpp | |
parent | 67a1981fbd5f2057c0ff3def8e0452216d5a9edf (diff) | |
download | subsurface-30746e5d3f6b20a0603359f55f232fb082362f39.tar.gz |
Make sure surface air is not considered a deco gas
it creapt in through the gaschange events.
Signed-off-by: Robert C. Helling <helling@atdotde.de>
Diffstat (limited to 'qt-models/cylindermodel.cpp')
-rw-r--r-- | qt-models/cylindermodel.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/qt-models/cylindermodel.cpp b/qt-models/cylindermodel.cpp index 11d4595ee..129f25a6c 100644 --- a/qt-models/cylindermodel.cpp +++ b/qt-models/cylindermodel.cpp @@ -442,6 +442,7 @@ void CylindersModel::add() fill_default_cylinder(&displayed_dive.cylinder[row]); displayed_dive.cylinder[row].start = displayed_dive.cylinder[row].type.workingpressure; displayed_dive.cylinder[row].manually_added = true; + displayed_dive.cylinder[row].cylinder_use = OC_GAS; beginInsertRows(QModelIndex(), row, row); rows++; changed = true; |