From 791f60dba82067c73fd9c6ec9430e742428201ff Mon Sep 17 00:00:00 2001 From: twinaphex Date: Wed, 13 May 2015 14:09:43 +0200 Subject: [PATCH] Cleanup --- menu/menu_displaylist.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/menu/menu_displaylist.c b/menu/menu_displaylist.c index 7ce56dfe22..8d8e754d2b 100644 --- a/menu/menu_displaylist.c +++ b/menu/menu_displaylist.c @@ -1754,12 +1754,13 @@ int menu_displaylist_push_list(menu_displaylist_info_t *info, unsigned type) case DISPLAYLIST_NONE: break; case DISPLAYLIST_MAIN_MENU: + menu_list_clear(info->list); + menu->list_settings = setting_new(SL_FLAG_ALL); menu_list_push(menu_list->menu_stack, info->path, info->label, info->type, info->flags); menu_navigation_clear(nav, true); - menu_list_clear(info->list); ret = menu_entries_push_list(menu, info, info->flags); need_push = true; break;