mirror of
https://github.com/subsurface/subsurface.git
synced 2024-11-30 22:20:21 +00:00
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:
parent
777f047247
commit
58d5d5ca41
1 changed files with 0 additions and 2 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue