Skip to content

Commit 9236ae6

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

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
@@ -166,6 +166,7 @@ void _goto_manual_move(const_float_t scale) {
166166
ui.defer_status_screen();
167167
ui.manual_move.menu_scale = scale;
168168
ui.goto_screen(_manual_move_func_ptr);
169+
thermalManager.set_menu_cold_override(true);
169170
}
170171

171172
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
228229
ui.goto_screen([]{
229230
MenuItem_confirm::select_screen(
230231
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,
232233
GET_TEXT(MSG_HOTEND_TOO_COLD), (const char *)nullptr, PSTR("!")
233234
);
234235
});

0 commit comments

Comments
 (0)