Skip to content

Commit 8351b14

Browse files
ellenspthinkyhead
andcommitted
🩹 Fix MarlinUI allow-cold-extrude (#24176)
Co-authored-by: Scott Lahteine <github@thinkyhead.com>
1 parent 7188067 commit 8351b14

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

Marlin/src/lcd/menu/menu_motion.cpp

+2-1
Original file line numberDiff line numberDiff line change
@@ -157,6 +157,7 @@ void _goto_manual_move(const_float_t scale) {
157157
ui.defer_status_screen();
158158
ui.manual_move.menu_scale = scale;
159159
ui.goto_screen(_manual_move_func_ptr);
160+
thermalManager.set_menu_cold_override(true);
160161
}
161162

162163
void _menu_move_distance(const AxisEnum axis, const screenFunc_t func, const int8_t eindex=active_extruder) {
@@ -219,7 +220,7 @@ void _menu_move_distance(const AxisEnum axis, const screenFunc_t func, const int
219220
ui.goto_screen([]{
220221
MenuItem_confirm::select_screen(
221222
GET_TEXT(MSG_BUTTON_PROCEED), GET_TEXT(MSG_BACK),
222-
[] { _goto_menu_move_distance_e(); thermalManager.set_menu_cold_override(true); }, nullptr,
223+
_goto_menu_move_distance_e, nullptr,
223224
GET_TEXT(MSG_HOTEND_TOO_COLD), (const char *)nullptr, PSTR("!")
224225
);
225226
});

0 commit comments

Comments
 (0)