🚸 Clear alert on menu click

This commit is contained in:
Scott Lahteine 2025-04-22 19:11:30 -05:00
parent efd875766a
commit 3696cc3513

View file

@ -203,6 +203,15 @@ void MarlinUI::goto_screen(screenFunc_t screen, const uint16_t encoder/*=0*/, co
}
#endif
//
// Clear alerts when exiting the Status Screen to the Main Menu
//
if (currentScreen == status_screen && screen == menu_main) {
reset_alert_level();
reset_status();
}
//
// Go to the new screen
//