From ed26dfdd6bd095f117d4f43a638688d19bb9be5b Mon Sep 17 00:00:00 2001 From: Dirk Hohndel Date: Sat, 31 May 2014 21:24:27 -0700 Subject: 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 --- qt-ui/diveplanner.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'qt-ui') 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); -- cgit v1.2.3-70-g09d2