Confirmation on Abort SD print (#12717)
This commit is contained in:
parent
f8c5d31864
commit
14ddda285c
1 changed files with 9 additions and 1 deletions
|
@ -65,6 +65,13 @@
|
|||
ui.return_to_status();
|
||||
}
|
||||
|
||||
void menu_sdcard_abort_confirm() {
|
||||
START_MENU();
|
||||
MENU_BACK(MSG_MAIN);
|
||||
MENU_ITEM(function, MSG_STOP_PRINT, lcd_sdcard_stop);
|
||||
END_MENU();
|
||||
}
|
||||
|
||||
#endif // SDSUPPORT
|
||||
|
||||
void menu_tune();
|
||||
|
@ -88,7 +95,8 @@ void menu_main() {
|
|||
MENU_ITEM(function, MSG_PAUSE_PRINT, lcd_sdcard_pause);
|
||||
else
|
||||
MENU_ITEM(function, MSG_RESUME_PRINT, lcd_sdcard_resume);
|
||||
MENU_ITEM(function, MSG_STOP_PRINT, lcd_sdcard_stop);
|
||||
|
||||
MENU_ITEM(submenu, MSG_STOP_PRINT, menu_sdcard_abort_confirm);
|
||||
}
|
||||
else {
|
||||
MENU_ITEM(submenu, MSG_CARD_MENU, menu_sdcard);
|
||||
|
|
Reference in a new issue