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
@ -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…
x
Reference in New Issue
Block a user