From 580e27d2e43bc1a6bf207ce6062d8523c51f677f Mon Sep 17 00:00:00 2001 From: twinaphex Date: Sun, 4 Sep 2016 23:20:27 +0200 Subject: [PATCH] Add menu_popup_push_pending --- menu/menu_popup.c | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/menu/menu_popup.c b/menu/menu_popup.c index 48674d6364..df52ce90ff 100644 --- a/menu/menu_popup.c +++ b/menu/menu_popup.c @@ -220,6 +220,15 @@ int menu_popup_iterate_help(menu_handle_t *menu, return 0; } +void menu_popup_push_pending(menu_handle_t *menu, + bool push, enum menu_help_type type) +{ + if (!menu) + return; + menu->help_screen.push = push; + menu->help_screen.type = type; +} + void menu_popup_push(menu_handle_t *menu) { menu_displaylist_info_t info = {0};