Use menu_displaylist_reset_filebrowser

This commit is contained in:
twinaphex 2016-07-14 22:18:36 +02:00
parent 010fe1bb1b
commit 194eaf3053

View File

@ -3858,15 +3858,15 @@ bool menu_displaylist_ctl(enum menu_displaylist_ctl_state type, void *data)
switch (type)
{
case DISPLAYLIST_FILE_BROWSER_SCAN_DIR:
BIT32_CLEAR_ALL(filebrowser_types);
menu_displaylist_reset_filebrowser();
BIT32_SET(filebrowser_types, FILEBROWSER_SCAN_DIR);
break;
case DISPLAYLIST_FILE_BROWSER_SELECT_DIR:
BIT32_CLEAR_ALL(filebrowser_types);
menu_displaylist_reset_filebrowser();
BIT32_SET(filebrowser_types, FILEBROWSER_SELECT_DIR);
break;
case DISPLAYLIST_FILE_BROWSER_SELECT_COLLECTION:
BIT32_CLEAR_ALL(filebrowser_types);
menu_displaylist_reset_filebrowser();
BIT32_SET(filebrowser_types, FILEBROWSER_SELECT_COLLECTION);
break;
default: