Move Cancel Object menu, fix canceled item index (#18930)
This commit is contained in:
@@ -51,6 +51,7 @@
|
||||
#endif
|
||||
|
||||
void menu_tune();
|
||||
void menu_cancelobject();
|
||||
void menu_motion();
|
||||
void menu_temperature();
|
||||
void menu_configuration();
|
||||
@@ -110,7 +111,12 @@ void menu_main() {
|
||||
);
|
||||
});
|
||||
#endif
|
||||
|
||||
SUBMENU(MSG_TUNE, menu_tune);
|
||||
|
||||
#if ENABLED(CANCEL_OBJECTS) && DISABLED(SLIM_LCD_MENUS)
|
||||
SUBMENU(MSG_CANCEL_OBJECT, []{ editable.int8 = -1; ui.goto_screen(menu_cancelobject); });
|
||||
#endif
|
||||
}
|
||||
else {
|
||||
|
||||
|
Reference in New Issue
Block a user