diff options
author | Dirk Hohndel <dirk@hohndel.org> | 2014-05-31 21:24:27 -0700 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2014-05-31 21:25:03 -0700 |
commit | ed26dfdd6bd095f117d4f43a638688d19bb9be5b (patch) | |
tree | b21aa2efbb64add781488657b011ea3093386b57 /qt-ui/diveplanner.cpp | |
parent | 6333f3aa35d12d7e9f1c02389df0f6129adb93b3 (diff) | |
download | subsurface-ed26dfdd6bd095f117d4f43a638688d19bb9be5b.tar.gz |
Planner: don't include the disclaimer in the dive plan detail widget
We want the disclaimer in the final dive that can be printed, but it's
distracting when shown while planning the dive.
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'qt-ui/diveplanner.cpp')
-rw-r--r-- | qt-ui/diveplanner.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/qt-ui/diveplanner.cpp b/qt-ui/diveplanner.cpp index dd72ce9c5..a74a780c3 100644 --- a/qt-ui/diveplanner.cpp +++ b/qt-ui/diveplanner.cpp @@ -841,7 +841,7 @@ void DivePlannerPointsModel::createTemporaryPlan() dump_plan(&diveplan); #endif if (plannerModel->recalcQ() && !diveplan_empty(&diveplan)) { - plan(&diveplan, &cache, &tempDive, stagingDive, isPlanner()); + plan(&diveplan, &cache, &tempDive, stagingDive, isPlanner(), false); MainWindow::instance()->setPlanNotes(tempDive->notes); addDecoToModel(); if (mode == ADD || mode == PLAN) { @@ -889,7 +889,7 @@ void DivePlannerPointsModel::createPlan() plannerModel->setRecalc(oldRecalc); //TODO: C-based function here? - plan(&diveplan, &cache, &tempDive, stagingDive, isPlanner()); + plan(&diveplan, &cache, &tempDive, stagingDive, isPlanner(), true); record_dive(tempDive); mark_divelist_changed(true); |