Browse Source

Require homing to toggle leveling (#13652)

Robby Candra 5 years ago
parent
commit
9e86fc3831
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      Marlin/src/lcd/menu/menu_motion.cpp

+ 1
- 1
Marlin/src/lcd/menu/menu_motion.cpp View File

@@ -465,7 +465,7 @@ void menu_motion() {
465 465
     #if DISABLED(PROBE_MANUALLY)
466 466
       MENU_ITEM(gcode, MSG_LEVEL_BED, PSTR("G28\nG29"));
467 467
     #endif
468
-    if (leveling_is_valid()) {
468
+    if (all_axes_homed() && leveling_is_valid()) {
469 469
       bool new_level_state = planner.leveling_active;
470 470
       MENU_ITEM_EDIT_CALLBACK(bool, MSG_BED_LEVELING, &new_level_state, _lcd_toggle_bed_leveling);
471 471
     }

Loading…
Cancel
Save