Browse Source

🩹 Fix MarlinUI allow-cold-extrude (#24176)

Co-authored-by: Scott Lahteine <github@thinkyhead.com>
ellensp 2 years ago
parent
commit
7894cd9d6a
No account linked to committer's email address
1 changed files with 2 additions and 1 deletions
  1. 2
    1
      Marlin/src/lcd/menu/menu_motion.cpp

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

@@ -166,6 +166,7 @@ void _goto_manual_move(const_float_t scale) {
166 166
   ui.defer_status_screen();
167 167
   ui.manual_move.menu_scale = scale;
168 168
   ui.goto_screen(_manual_move_func_ptr);
169
+  thermalManager.set_menu_cold_override(true);
169 170
 }
170 171
 
171 172
 void _menu_move_distance(const AxisEnum axis, const screenFunc_t func, const int8_t eindex=active_extruder) {
@@ -228,7 +229,7 @@ void _menu_move_distance(const AxisEnum axis, const screenFunc_t func, const int
228 229
         ui.goto_screen([]{
229 230
           MenuItem_confirm::select_screen(
230 231
             GET_TEXT(MSG_BUTTON_PROCEED), GET_TEXT(MSG_BACK),
231
-            [] { _goto_menu_move_distance_e(); thermalManager.set_menu_cold_override(true); }, nullptr,
232
+            _goto_menu_move_distance_e, nullptr,
232 233
             GET_TEXT(MSG_HOTEND_TOO_COLD), (const char *)nullptr, PSTR("!")
233 234
           );
234 235
         });

Loading…
Cancel
Save