diff options
author | William Wilgus <me.theuser@yahoo.com> | 2017-09-07 12:27:54 +0200 |
---|---|---|
committer | William Wilgus <me.theuser@yahoo.com> | 2018-06-05 16:35:17 +0200 |
commit | 0c06e5fe9063db11049d1b1ecf41825d2a803cd5 (patch) | |
tree | e8bafd7b6466e45c71ca43d577099578a4fb2790 /apps/tree.c | |
parent | 641e033e33bbb918c7324e9626b4a4e36aa13b8d (diff) | |
download | rockbox-0c06e5fe9063db11049d1b1ecf41825d2a803cd5.tar.gz rockbox-0c06e5fe9063db11049d1b1ecf41825d2a803cd5.zip |
Add file view menu to file browser
Allows changing file sort options directly through context menu in the file browser
rather than having to exit the browser and go through General Settings>File_View
Change-Id: Iec124d512dcb934bd261b2144a699c23f536c165
Diffstat (limited to 'apps/tree.c')
-rw-r--r-- | apps/tree.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/apps/tree.c b/apps/tree.c index 938e44d350..8efccf5549 100644 --- a/apps/tree.c +++ b/apps/tree.c | |||
@@ -359,6 +359,7 @@ static int update_dir(void) | |||
359 | else | 359 | else |
360 | #endif | 360 | #endif |
361 | { | 361 | { |
362 | tc.sort_dir = global_settings.sort_dir; | ||
362 | /* if the tc.currdir has been changed, reload it ...*/ | 363 | /* if the tc.currdir has been changed, reload it ...*/ |
363 | if (strncmp(tc.currdir, lastdir, sizeof(lastdir)) || reload_dir) | 364 | if (strncmp(tc.currdir, lastdir, sizeof(lastdir)) || reload_dir) |
364 | { | 365 | { |