diff options
Diffstat (limited to 'backend-shared/plannershared.cpp')
-rw-r--r-- | backend-shared/plannershared.cpp | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/backend-shared/plannershared.cpp b/backend-shared/plannershared.cpp index 2420fdedc..9bb8ad315 100644 --- a/backend-shared/plannershared.cpp +++ b/backend-shared/plannershared.cpp @@ -113,3 +113,13 @@ void plannerShared::set_vpmb_conservatism(int value) { DivePlannerPointsModel::instance()->setVpmbConservatism(value); } + +bool plannerShared::dobailout() +{ + return qPrefDivePlanner::dobailout(); +} +void plannerShared::set_dobailout(bool value) +{ + qPrefDivePlanner::set_dobailout(value); + DivePlannerPointsModel::instance()->emitDataChanged(); +} |