Move menu_unset_refresh call
This commit is contained in:
parent
e59dc3a64a
commit
3ead5590e6
|
@ -2034,11 +2034,7 @@ int menu_displaylist_push(file_list_t *list, file_list_t *menu_list)
|
||||||
strlcpy(info.path, path, sizeof(info.path));
|
strlcpy(info.path, path, sizeof(info.path));
|
||||||
strlcpy(info.label, label, sizeof(info.label));
|
strlcpy(info.label, label, sizeof(info.label));
|
||||||
|
|
||||||
ret = menu_displaylist_deferred_push(&info);
|
return menu_displaylist_deferred_push(&info);
|
||||||
|
|
||||||
menu_unset_refresh();
|
|
||||||
|
|
||||||
return ret;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
|
@ -491,7 +491,11 @@ int menu_entry_action(menu_entry_t *entry, unsigned i, enum menu_action action)
|
||||||
|
|
||||||
case MENU_ACTION_REFRESH:
|
case MENU_ACTION_REFRESH:
|
||||||
if (cbs && cbs->action_refresh)
|
if (cbs && cbs->action_refresh)
|
||||||
return cbs->action_refresh(menu_list->selection_buf, menu_list->menu_stack);
|
{
|
||||||
|
int ret = cbs->action_refresh(menu_list->selection_buf, menu_list->menu_stack);
|
||||||
|
menu_unset_refresh();
|
||||||
|
return ret;
|
||||||
|
}
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case MENU_ACTION_MESSAGE:
|
case MENU_ACTION_MESSAGE:
|
||||||
|
|
Loading…
Reference in New Issue