diff --git a/menu/menu_list.c b/menu/menu_list.c index 29e49034f3..7726fa75c3 100644 --- a/menu/menu_list.c +++ b/menu/menu_list.c @@ -374,21 +374,9 @@ void menu_list_push(file_list_t *list, menu_list_insert(list, path, label, type, directory_ptr); } -void menu_list_push_refresh(file_list_t *list, +void menu_list_push_stack(menu_list_t *list, const char *path, const char *label, unsigned type, size_t directory_ptr) -{ - menu_handle_t *menu = menu_driver_get_ptr(); - if (!menu || !list) - return; - - menu_list_push(list, path, label, type, directory_ptr); - menu_navigation_clear(&menu->navigation, true); - menu->need_refresh = true; -} - -void menu_list_push_stack(menu_list_t *list, const char *path, const char *label, - unsigned type, size_t directory_ptr) { if (list) menu_list_push(list->menu_stack, path, label, type, directory_ptr); diff --git a/menu/menu_list.h b/menu/menu_list.h index e39bb11fab..9273b48843 100644 --- a/menu/menu_list.h +++ b/menu/menu_list.h @@ -86,10 +86,6 @@ void menu_list_push(file_list_t *list, const char *path, const char *label, unsigned type, size_t directory_ptr); -void menu_list_push_refresh(file_list_t *list, - const char *path, const char *label, - unsigned type, size_t directory_ptr); - void menu_list_push_stack(menu_list_t *list, const char *path, const char *label, unsigned type, size_t directory_ptr);