Revert "Simplify menu_cbs_init_bind_refresh"
This reverts commit d405d34c0e
.
This commit is contained in:
parent
9b83d4d80b
commit
2196e734d3
|
@ -31,7 +31,16 @@ int menu_cbs_init_bind_refresh(menu_file_list_cbs_t *cbs,
|
||||||
if (!cbs)
|
if (!cbs)
|
||||||
return -1;
|
return -1;
|
||||||
|
|
||||||
|
switch (label_hash)
|
||||||
|
{
|
||||||
|
case MENU_VALUE_MAIN_MENU:
|
||||||
|
cbs->action_refresh = NULL;
|
||||||
|
break;
|
||||||
|
default:
|
||||||
cbs->action_refresh = action_refresh_default;
|
cbs->action_refresh = action_refresh_default;
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
return -1;
|
return -1;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue