Add menu back arrow to the Perheat menu
All other menus have this arrow on the back button.
This commit is contained in:
parent
e1ebc82654
commit
70ee06144e
|
|
@ -2384,7 +2384,6 @@ static void mFilamentItem_PVB()
|
||||||
|
|
||||||
void mFilamentBack()
|
void mFilamentBack()
|
||||||
{
|
{
|
||||||
menu_back();
|
|
||||||
if (eFilamentAction == FilamentAction::AutoLoad ||
|
if (eFilamentAction == FilamentAction::AutoLoad ||
|
||||||
eFilamentAction == FilamentAction::Preheat ||
|
eFilamentAction == FilamentAction::Preheat ||
|
||||||
eFilamentAction == FilamentAction::Lay1Cal)
|
eFilamentAction == FilamentAction::Lay1Cal)
|
||||||
|
|
@ -2398,13 +2397,16 @@ void lcd_generic_preheat_menu()
|
||||||
MENU_BEGIN();
|
MENU_BEGIN();
|
||||||
if (!eeprom_read_byte((uint8_t*)EEPROM_WIZARD_ACTIVE))
|
if (!eeprom_read_byte((uint8_t*)EEPROM_WIZARD_ACTIVE))
|
||||||
{
|
{
|
||||||
|
ON_MENU_LEAVE(
|
||||||
|
mFilamentBack();
|
||||||
|
);
|
||||||
if (eFilamentAction == FilamentAction::Lay1Cal)
|
if (eFilamentAction == FilamentAction::Lay1Cal)
|
||||||
{
|
{
|
||||||
MENU_ITEM_FUNCTION_P(_T(MSG_BACK), mFilamentBack);
|
MENU_ITEM_BACK_P(_T(MSG_BACK));
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
MENU_ITEM_FUNCTION_P(_T(MSG_MAIN), mFilamentBack);
|
MENU_ITEM_BACK_P(_T(MSG_MAIN));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if (farm_mode)
|
if (farm_mode)
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue