summaryrefslogtreecommitdiff
path: root/apps/tree.c
diff options
context:
space:
mode:
Diffstat (limited to 'apps/tree.c')
-rw-r--r--apps/tree.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/apps/tree.c b/apps/tree.c
index 5cd803adfe..b35e44861c 100644
--- a/apps/tree.c
+++ b/apps/tree.c
@@ -906,7 +906,8 @@ bool dirbrowse(char *root)
906 shuffled list in case shuffle is enabled */ 906 shuffled list in case shuffle is enabled */
907 global_settings.resume_index = start_index; 907 global_settings.resume_index = start_index;
908 global_settings.resume_offset = 0; 908 global_settings.resume_offset = 0;
909 global_settings.resume_first_index = start_index; 909 global_settings.resume_first_index =
910 playlist_first_index();
910 global_settings.resume_seed = seed; 911 global_settings.resume_seed = seed;
911 settings_save(); 912 settings_save();
912 } 913 }