Activate the Planner

On the cleanup dirk forgot to set the plan tipe to PLAN instead of ADD

Signed-off-by: Tomaz Canabrava <tomaz.canabrava@intel.com>
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
Tomaz Canabrava 2014-05-26 17:43:52 -03:00 committed by Dirk Hohndel
parent 9cc8e39d42
commit fe2eb1a9fc

View file

@ -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;