(Menu) apply 'scan file' action only on MENU_FILE_PLAIN
This commit is contained in:
parent
a0c0f1e6cb
commit
ae1f44cb30
|
@ -66,9 +66,11 @@ static int menu_entries_cbs_init_bind_scan_compare_type(menu_file_list_cbs_t *cb
|
|||
case MENU_FILE_DIRECTORY:
|
||||
cbs->action_scan = action_scan_directory;
|
||||
break;
|
||||
default:
|
||||
case MENU_FILE_PLAIN:
|
||||
cbs->action_scan = action_scan_file;
|
||||
break;
|
||||
default:
|
||||
return -1;
|
||||
}
|
||||
|
||||
return 0;
|
||||
|
|
Loading…
Reference in New Issue