diff options
author | Jonathan Gordon <rockbox@jdgordon.info> | 2007-03-06 00:53:48 +0000 |
---|---|---|
committer | Jonathan Gordon <rockbox@jdgordon.info> | 2007-03-06 00:53:48 +0000 |
commit | ff5756a24868ad58fec9a7f469a6dea3beea1893 (patch) | |
tree | 6c1d969836122474d57f940feaa1e42f22c86e10 | |
parent | 4d25bffc8ac075d30fff780ab682ebbec29c2a46 (diff) |
Fix the problem where you can get stuck in the plugin browser after
stopping music in the WPS
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12632 a1c6a512-1295-4272-9138-f99709370657
-rw-r--r-- | apps/root_menu.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/apps/root_menu.c b/apps/root_menu.c index cb84033b6b..279b5f8bf4 100644 --- a/apps/root_menu.c +++ b/apps/root_menu.c @@ -117,6 +117,11 @@ static int browser(void* param) last_db_dirlevel = tc->dirlevel; break; } + /* hopefully only happens trying to go back into the WPS + from plugins, if music is stopped... */ + if ((ret_val == GO_TO_PREVIOUS) && (last_screen == (intptr_t)param)) + ret_val = GO_TO_ROOT; + return ret_val; } |