diff --git a/apps/menu.c b/apps/menu.c index b0060f4df4..4b871bb293 100644 --- a/apps/menu.c +++ b/apps/menu.c @@ -299,7 +299,7 @@ Menu menu_run(int m) #else lcd_icon(ICON_PARAM, true); #endif - result = MENU_REFRESH_DIR; + result = MENU_DISK_CHANGED; break; #endif diff --git a/apps/menu.h b/apps/menu.h index fc962c79aa..1623aa728b 100644 --- a/apps/menu.h +++ b/apps/menu.h @@ -24,7 +24,7 @@ typedef enum { MENU_OK, - MENU_REFRESH_DIR, /* any file/directory contents need to be re-read */ + MENU_DISK_CHANGED, /* any file/directory contents need to be re-read */ MENU_LAST /* don't use as return code, only for number of return codes available */ } Menu; diff --git a/apps/tree.c b/apps/tree.c index 0c4e26ab8e..d7cb7fbe33 100644 --- a/apps/tree.c +++ b/apps/tree.c @@ -645,7 +645,7 @@ bool dirbrowse(char *root) lcd_stop_scroll(); result = main_menu(); /* do we need to rescan dir? */ - if (result == MENU_REFRESH_DIR || + if (result == MENU_DISK_CHANGED || lastfilter != global_settings.mp3filter || lastsortcase != global_settings.sort_case || show_hidden_files != global_settings.show_hidden_files)