Add TURBO_BACK_MENU_ITEM option (#14991)

This commit is contained in:
Scott Lahteine authored and GitHub committed 2019-08-20 19:37:03 -05:00
1 parent 0cc524b84f
commit 5e777601f3
102 files changed
+323 -4

No files matched your search

+7 -1
View File
@@ -144,7 +144,13 @@ DEFINE_DRAW_MENU_ITEM_SETTING_EDIT(long5_25); // 12345 right-justif
class MenuItem_back {
public:
static inline void action() { ui.goto_previous_screen(); }
static inline void action() {
ui.goto_previous_screen(
#if ENABLED(TURBO_BACK_MENU_ITEM)
true
#endif
);
}
};
class MenuItem_submenu {