DISPLAYLIST_MAIN_MENU - cleanup
This commit is contained in:
parent
d4b291a1e4
commit
bd99323585
|
@ -1757,10 +1757,9 @@ int menu_displaylist_push_list(menu_displaylist_info_t *info, unsigned type)
|
||||||
case DISPLAYLIST_MAIN_MENU:
|
case DISPLAYLIST_MAIN_MENU:
|
||||||
menu_list_clear(info->list);
|
menu_list_clear(info->list);
|
||||||
|
|
||||||
menu->list_settings = setting_new(SL_FLAG_ALL);
|
|
||||||
|
|
||||||
menu_list_push(menu_list->menu_stack,
|
menu_list_push(menu_list->menu_stack,
|
||||||
info->path, info->label, info->type, info->flags);
|
info->path, info->label, info->type, info->flags);
|
||||||
|
|
||||||
ret = menu_entries_push_list(menu, info, info->flags);
|
ret = menu_entries_push_list(menu, info, info->flags);
|
||||||
need_clear = true;
|
need_clear = true;
|
||||||
need_push = true;
|
need_push = true;
|
||||||
|
|
Loading…
Reference in New Issue