aboutsummaryrefslogtreecommitdiffstats
path: root/qt-ui/diveplanner.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'qt-ui/diveplanner.cpp')
-rw-r--r--qt-ui/diveplanner.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/qt-ui/diveplanner.cpp b/qt-ui/diveplanner.cpp
index a66256a6f..6f7b063bf 100644
--- a/qt-ui/diveplanner.cpp
+++ b/qt-ui/diveplanner.cpp
@@ -1194,6 +1194,9 @@ int DivePlannerPointsModel::addStop(int milimeters, int seconds, int o2, int he,
struct divedatapoint& t = divepoints.last();
milimeters = t.depth;
seconds = t.time + 600; // 10 minutes.
+ o2 = t.o2;
+ he = t.he;
+ ccpoint = t.po2;
} else if (seconds == 0 && milimeters == 0 && row == 0) {
milimeters = M_OR_FT(5, 15); // 5m / 15ft
seconds = 600; // 10 min