|
|
|
|
90
|
if (LCD_HEIGHT >= 4) STATIC_ITEM_P(change_filament_header(mode), SS_DEFAULT|SS_INVERT);
|
90
|
if (LCD_HEIGHT >= 4) STATIC_ITEM_P(change_filament_header(mode), SS_DEFAULT|SS_INVERT);
|
91
|
BACK_ITEM(MSG_BACK);
|
91
|
BACK_ITEM(MSG_BACK);
|
92
|
#if PREHEAT_COUNT
|
92
|
#if PREHEAT_COUNT
|
|
|
93
|
+ const int8_t old_index = MenuItemBase::itemIndex;
|
93
|
LOOP_L_N(m, PREHEAT_COUNT)
|
94
|
LOOP_L_N(m, PREHEAT_COUNT)
|
94
|
- ACTION_ITEM_N_S(extruder, ui.get_preheat_label(m), MSG_PREHEAT_M, _change_filament_with_preset);
|
|
|
|
|
95
|
+ ACTION_ITEM_N_S(m, ui.get_preheat_label(m), MSG_PREHEAT_M, _change_filament_with_preset);
|
|
|
96
|
+ MenuItemBase::itemIndex = old_index;
|
95
|
#endif
|
97
|
#endif
|
96
|
EDIT_ITEM_FAST_N(int3, extruder, MSG_PREHEAT_CUSTOM, &thermalManager.temp_hotend[extruder].target,
|
98
|
EDIT_ITEM_FAST_N(int3, extruder, MSG_PREHEAT_CUSTOM, &thermalManager.temp_hotend[extruder].target,
|
97
|
EXTRUDE_MINTEMP, thermalManager.heater_maxtemp[extruder] - HOTEND_OVERSHOOT,
|
99
|
EXTRUDE_MINTEMP, thermalManager.heater_maxtemp[extruder] - HOTEND_OVERSHOOT,
|