From fe2eb1a9fc70e8aa2eae7c87cd8f16c753a6735d Mon Sep 17 00:00:00 2001 From: Tomaz Canabrava Date: Mon, 26 May 2014 17:43:52 -0300 Subject: Activate the Planner On the cleanup dirk forgot to set the plan tipe to PLAN instead of ADD Signed-off-by: Tomaz Canabrava Signed-off-by: Dirk Hohndel --- qt-ui/mainwindow.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/qt-ui/mainwindow.cpp b/qt-ui/mainwindow.cpp index 63abd1d30..8a452b320 100644 --- a/qt-ui/mainwindow.cpp +++ b/qt-ui/mainwindow.cpp @@ -391,7 +391,7 @@ void MainWindow::on_actionDivePlanner_triggered() dive_list()->rememberSelection(); dive_list()->unselectDives(); - DivePlannerPointsModel::instance()->setPlanMode(DivePlannerPointsModel::ADD); + DivePlannerPointsModel::instance()->setPlanMode(DivePlannerPointsModel::PLAN); DivePlannerPointsModel::instance()->clear(); CylindersModel::instance()->clear(); int i; -- cgit v1.2.3-70-g09d2