🩹 Fix MarlinUI allow-cold-extrude (#24176)
Co-authored-by: Scott Lahteine <github@thinkyhead.com>
This commit is contained in:
parent
718806761f
commit
8351b1431f
|
@ -157,6 +157,7 @@ void _goto_manual_move(const_float_t scale) {
|
|||
ui.defer_status_screen();
|
||||
ui.manual_move.menu_scale = scale;
|
||||
ui.goto_screen(_manual_move_func_ptr);
|
||||
thermalManager.set_menu_cold_override(true);
|
||||
}
|
||||
|
||||
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
|
|||
ui.goto_screen([]{
|
||||
MenuItem_confirm::select_screen(
|
||||
GET_TEXT(MSG_BUTTON_PROCEED), GET_TEXT(MSG_BACK),
|
||||
[] { _goto_menu_move_distance_e(); thermalManager.set_menu_cold_override(true); }, nullptr,
|
||||
_goto_menu_move_distance_e, nullptr,
|
||||
GET_TEXT(MSG_HOTEND_TOO_COLD), (const char *)nullptr, PSTR("!")
|
||||
);
|
||||
});
|
||||
|
|
Loading…
Reference in a new issue