summaryrefslogtreecommitdiffstats
path: root/apps/tree.c
diff options
context:
space:
mode:
authorJonathan Gordon <rockbox@jdgordon.info>2010-08-16 13:16:29 +0000
committerJonathan Gordon <rockbox@jdgordon.info>2010-08-16 13:16:29 +0000
commit43c85a4424d415e8b3f200e5e6d691eb294dfaab (patch)
tree46267949c61eb0c8f2e9013007fad10211bada14 /apps/tree.c
parent2cc6b5a79db0d96718d2f1b14eddeda4a5237198 (diff)
downloadrockbox-43c85a4424d415e8b3f200e5e6d691eb294dfaab.tar.gz
rockbox-43c85a4424d415e8b3f200e5e6d691eb294dfaab.tar.bz2
rockbox-43c85a4424d415e8b3f200e5e6d691eb294dfaab.zip
"Fix" FS#11349... %cs got confused because for some reason when the root menu was introduced the fm preset loading was never fixed to go back through that menu... problem is do_menu() is getting in the way now, so be like other files and dont try to reload the screen after loading... i.e go into the fms manually
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27830 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/tree.c')
-rw-r--r--apps/tree.c11
1 files changed, 8 insertions, 3 deletions
diff --git a/apps/tree.c b/apps/tree.c
index f8874f684e..c4bfaf130e 100644
--- a/apps/tree.c
+++ b/apps/tree.c
@@ -682,9 +682,14 @@ static int dirbrowse()
switch (ft_enter(&tc))
#endif
{
- case 1: reload_dir = true; break;
- case 2: start_wps = true; break;
- case 3: exit_func = true; break;
+ case GO_TO_FILEBROWSER: reload_dir = true; break;
+ case GO_TO_WPS:
+ return GO_TO_WPS;
+#if CONFIG_TUNER
+ case GO_TO_FM:
+ return GO_TO_FM;
+#endif
+ case GO_TO_ROOT: exit_func = true; break;
default: break;
}
restore = true;