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
1 changed files with 5 additions and 3 deletions
|
@ -2384,7 +2384,6 @@ static void mFilamentItem_PVB()
|
|||
|
||||
void mFilamentBack()
|
||||
{
|
||||
menu_back();
|
||||
if (eFilamentAction == FilamentAction::AutoLoad ||
|
||||
eFilamentAction == FilamentAction::Preheat ||
|
||||
eFilamentAction == FilamentAction::Lay1Cal)
|
||||
|
@ -2398,13 +2397,16 @@ void lcd_generic_preheat_menu()
|
|||
MENU_BEGIN();
|
||||
if (!eeprom_read_byte((uint8_t*)EEPROM_WIZARD_ACTIVE))
|
||||
{
|
||||
ON_MENU_LEAVE(
|
||||
mFilamentBack();
|
||||
);
|
||||
if (eFilamentAction == FilamentAction::Lay1Cal)
|
||||
{
|
||||
MENU_ITEM_FUNCTION_P(_T(MSG_BACK), mFilamentBack);
|
||||
MENU_ITEM_BACK_P(_T(MSG_BACK));
|
||||
}
|
||||
else
|
||||
{
|
||||
MENU_ITEM_FUNCTION_P(_T(MSG_MAIN), mFilamentBack);
|
||||
MENU_ITEM_BACK_P(_T(MSG_MAIN));
|
||||
}
|
||||
}
|
||||
if (farm_mode)
|
||||
|
|
Loading…
Reference in a new issue