Remove uneeded call.

The disableDcShortcuts is called inside of the ProfileGraphics
( I actually think that this method should be moved to there )

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-25 15:36:34 -03:00 committed by Dirk Hohndel
parent 777f047247
commit 58d5d5ca41

View file

@ -373,7 +373,6 @@ void MainWindow::on_actionDivePlanner_triggered()
int i;
struct dive *dive;
disableDcShortcuts();
DivePlannerPointsModel::instance()->setPlanMode(DivePlannerPointsModel::PLAN);
DivePlannerPointsModel::instance()->clear();
CylindersModel::instance()->clear();
@ -395,7 +394,6 @@ void MainWindow::on_actionAddDive_triggered()
dive_list()->rememberSelection();
dive_list()->unselectDives();
disableDcShortcuts();
DivePlannerPointsModel::instance()->setPlanMode(DivePlannerPointsModel::ADD);
// now cheat - create one dive that we use to store the info tab data in