Don't bind action_refresh when we are at main menu

This commit is contained in:
twinaphex 2015-06-12 13:58:11 +02:00
parent 738efe3f3c
commit 4571485917

View File

@ -29,7 +29,16 @@ int menu_entries_cbs_init_bind_refresh(menu_file_list_cbs_t *cbs,
if (!cbs)
return -1;
cbs->action_refresh = action_refresh_default;
switch (label_hash)
{
case MENU_VALUE_MAIN_MENU:
cbs->action_refresh = NULL;
break;
default:
cbs->action_refresh = action_refresh_default;
break;
}
return -1;
}