|
@@ -615,8 +615,10 @@ void _lcd_ubl_step_by_step() {
|
615
|
615
|
void _lcd_ubl_level_bed() {
|
616
|
616
|
START_MENU();
|
617
|
617
|
MENU_BACK(MSG_MOTION);
|
618
|
|
- MENU_ITEM(gcode, MSG_UBL_ACTIVATE_MESH, PSTR("G29 A"));
|
619
|
|
- MENU_ITEM(gcode, MSG_UBL_DEACTIVATE_MESH, PSTR("G29 D"));
|
|
618
|
+ if (planner.leveling_active)
|
|
619
|
+ MENU_ITEM(gcode, MSG_UBL_DEACTIVATE_MESH, PSTR("G29 D"));
|
|
620
|
+ else
|
|
621
|
+ MENU_ITEM(gcode, MSG_UBL_ACTIVATE_MESH, PSTR("G29 A"));
|
620
|
622
|
MENU_ITEM(submenu, MSG_UBL_STEP_BY_STEP_MENU, _lcd_ubl_step_by_step);
|
621
|
623
|
MENU_ITEM(function, MSG_UBL_MESH_EDIT, _lcd_ubl_output_map_lcd_cmd);
|
622
|
624
|
MENU_ITEM(submenu, MSG_UBL_STORAGE_MESH_MENU, _lcd_ubl_storage_mesh);
|