summaryrefslogtreecommitdiffstats
path: root/apps
diff options
context:
space:
mode:
Diffstat (limited to 'apps')
-rw-r--r--apps/tree.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/apps/tree.c b/apps/tree.c
index 237246d41e..420c55bfcf 100644
--- a/apps/tree.c
+++ b/apps/tree.c
@@ -467,10 +467,12 @@ bool dirbrowse(char *root)
case TREE_MENU: {
bool lastfilter = global_settings.mp3filter;
+ bool lastsortcase = global_settings.sort_case;
lcd_stop_scroll();
main_menu();
/* do we need to rescan dir? */
- if ( lastfilter != global_settings.mp3filter )
+ if ( lastfilter != global_settings.mp3filter ||
+ lastsortcase != global_settings.sort_case)
lastdir[0] = 0;
restore = true;
break;