summaryrefslogtreecommitdiffstats
path: root/core/settings/qPrefDivePlanner.cpp
diff options
context:
space:
mode:
authorGravatar Robert C. Helling <helling@atdotde.de>2019-03-25 22:40:59 +0100
committerGravatar Dirk Hohndel <dirk@hohndel.org>2019-03-29 06:51:12 -0700
commit178eaa9a67f73195aac0ad195a428e899973a2df (patch)
tree91f20a2882961184513fea59866aaa34c08e823d /core/settings/qPrefDivePlanner.cpp
parent5e494ce76106fe16f614e163c2bc6b8bf6903c86 (diff)
downloadsubsurface-178eaa9a67f73195aac0ad195a428e899973a2df.tar.gz
Add UI element for final surface segment in planner
Signed-off-by: Robert C. Helling <helling@atdotde.de>
Diffstat (limited to 'core/settings/qPrefDivePlanner.cpp')
-rw-r--r--core/settings/qPrefDivePlanner.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/core/settings/qPrefDivePlanner.cpp b/core/settings/qPrefDivePlanner.cpp
index 04a2ba7e7..f33b390cf 100644
--- a/core/settings/qPrefDivePlanner.cpp
+++ b/core/settings/qPrefDivePlanner.cpp
@@ -83,6 +83,8 @@ HANDLE_PREFERENCE_BOOL(DivePlanner, "last_stop", last_stop);
HANDLE_PREFERENCE_INT(DivePlanner, "min_switch_duration", min_switch_duration);
+HANDLE_PREFERENCE_INT(DivePlanner, "surface_segment", surface_segment);
+
HANDLE_PREFERENCE_ENUM(DivePlanner, deco_mode, "deco_mode", planner_deco_mode);
HANDLE_PREFERENCE_INT(DivePlanner, "problemsolvingtime", problemsolvingtime);