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 bdfc7b399..d5b5156ab 100644 --- a/backend-shared/plannershared.cpp +++ b/backend-shared/plannershared.cpp @@ -150,3 +150,13 @@ void plannerShared::set_switch_at_req_stop(bool value) { DivePlannerPointsModel::instance()->setSwitchAtReqStop(value); } + +bool plannerShared::doo2breaks() +{ + return qPrefDivePlanner::doo2breaks(); +} +void plannerShared::set_doo2breaks(bool value) +{ + qPrefDivePlanner::set_doo2breaks(value); + DivePlannerPointsModel::instance()->emitDataChanged(); +} |