From 10d73155b054138795654418855812407e806c6f Mon Sep 17 00:00:00 2001 From: Scott Lahteine Date: Sun, 17 Dec 2017 01:12:59 -0600 Subject: [PATCH] Hide LEVELING item for probeless w/out LCD Leveling --- Marlin/ultralcd.cpp | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/Marlin/ultralcd.cpp b/Marlin/ultralcd.cpp index fd07c390d2..8d78d5a503 100644 --- a/Marlin/ultralcd.cpp +++ b/Marlin/ultralcd.cpp @@ -2553,10 +2553,8 @@ void kill_screen(const char* lcd_msg) { lcd_bed_leveling #endif ); - #else - #if PLANNER_LEVELING - MENU_ITEM(gcode, MSG_BED_LEVELING, PSTR("G28\nG29")); - #endif + #elif PLANNER_LEVELING && DISABLED(PROBE_MANUALLY) + MENU_ITEM(gcode, MSG_BED_LEVELING, PSTR("G28\nG29")); #endif #if ENABLED(LEVEL_BED_CORNERS) && DISABLED(LCD_BED_LEVELING)