summaryrefslogtreecommitdiff
path: root/apps/tree.c
diff options
context:
space:
mode:
authorMiika Pekkarinen <miipekk@ihme.org>2006-09-19 11:54:33 +0000
committerMiika Pekkarinen <miipekk@ihme.org>2006-09-19 11:54:33 +0000
commitba34c379676f629d94b80d0c4076e6b08ade171e (patch)
tree5aa0ad237f799c01f8b80a25dddb2a974399b767 /apps/tree.c
parent1d5b248f7b8ed9a82f63587f9090556a45885405 (diff)
Improved tag browser configuration file syntax with submenus and
includes (custom user menu, without overwriting by default menu). git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11000 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/tree.c')
-rw-r--r--apps/tree.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/apps/tree.c b/apps/tree.c
index 1f68a8560b..584aaa8006 100644
--- a/apps/tree.c
+++ b/apps/tree.c
@@ -532,10 +532,12 @@ static bool check_changed_id3mode(bool currmode)
currmode = global_settings.dirfilter == SHOW_ID3DB;
if (currmode) {
curr_context=CONTEXT_ID3DB;
+ tc.dirlevel = 0;
tagtree_load(&tc);
}
else
{
+ tc.dirlevel = 0;
curr_context=CONTEXT_TREE;
ft_load(&tc, NULL);
reload_dir = true;