From 194eaf3053071f2296091714404206199608fd50 Mon Sep 17 00:00:00 2001 From: twinaphex Date: Thu, 14 Jul 2016 22:18:36 +0200 Subject: [PATCH] Use menu_displaylist_reset_filebrowser --- menu/menu_displaylist.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/menu/menu_displaylist.c b/menu/menu_displaylist.c index 9f039110f7..a06b5fda39 100644 --- a/menu/menu_displaylist.c +++ b/menu/menu_displaylist.c @@ -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: