summaryrefslogtreecommitdiffstats
path: root/backend-shared/plannershared.cpp
diff options
context:
space:
mode:
authorGravatar jan Iversen <jan@casacondor.com>2019-12-29 20:15:30 +0100
committerGravatar Dirk Hohndel <dirk@hohndel.org>2019-12-30 04:46:57 +0900
commitb7730d3813bf6c31b87679ca1783c3e4223fe9d9 (patch)
tree1d3230b1b68d11504b1b43950307af87d9aaf29a /backend-shared/plannershared.cpp
parentcb3561ae85d8297db87c058d36fcb6f03604f10c (diff)
downloadsubsurface-b7730d3813bf6c31b87679ca1783c3e4223fe9d9.tar.gz
backendShared: correct set_verbatim_plan in plannerShared.
Correct copy/paste error, set_verbatim_plan() should not call setSacFactor() but setVerbatim(). Signed-off-by: Jan Iversen <jan@casacondor.com>
Diffstat (limited to 'backend-shared/plannershared.cpp')
-rw-r--r--backend-shared/plannershared.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/backend-shared/plannershared.cpp b/backend-shared/plannershared.cpp
index dc44cc37c..d9a3ff01e 100644
--- a/backend-shared/plannershared.cpp
+++ b/backend-shared/plannershared.cpp
@@ -290,7 +290,7 @@ bool plannerShared::verbatim_plan()
}
void plannerShared::set_verbatim_plan(bool value)
{
- DivePlannerPointsModel::instance()->setSacFactor(value);
+ DivePlannerPointsModel::instance()->setVerbatim(value);
}
bool plannerShared::display_variations()