diff options
author | Tomaz Canabrava <tomaz.canabrava@intel.com> | 2014-05-26 17:43:52 -0300 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2014-05-26 14:07:06 -0700 |
commit | fe2eb1a9fc70e8aa2eae7c87cd8f16c753a6735d (patch) | |
tree | df88c4e35902bcf021a250561bb688fb94897332 /qt-ui/mainwindow.cpp | |
parent | 9cc8e39d425b7f64c4c5c2a4226ba581550076f6 (diff) | |
download | subsurface-fe2eb1a9fc70e8aa2eae7c87cd8f16c753a6735d.tar.gz |
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>
Diffstat (limited to 'qt-ui/mainwindow.cpp')
-rw-r--r-- | qt-ui/mainwindow.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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; |