mirror of
https://github.com/subsurface/subsurface.git
synced 2024-11-30 22:20:21 +00:00
Rely on ENABLE_PLANNER to enable the planner
The removal of the planner menu entry was erroneously commented out. Other parts of the code rely on ENABLE_PLANNER to know if the planner is enabled or not so rely on it here to. Signed-off-by: Anton Lundin <glance@acc.umu.se> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
parent
5b3cab94a1
commit
63943371bd
1 changed files with 1 additions and 1 deletions
|
@ -88,7 +88,7 @@ MainWindow::MainWindow() : QMainWindow(),
|
|||
|
||||
|
||||
#ifndef ENABLE_PLANNER
|
||||
// ui.menuLog->removeAction(ui.actionDivePlanner);
|
||||
ui.menuLog->removeAction(ui.actionDivePlanner);
|
||||
#endif
|
||||
#ifdef NO_MARBLE
|
||||
ui.layoutWidget->hide();
|
||||
|
|
Loading…
Reference in a new issue