The menu and WPS buttons now work in the plugin and font browsers too

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12534 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Linus Nielsen Feltzing 2007-03-01 13:01:14 +00:00
parent a2eb38a8c5
commit 421b67ea77

View file

@ -700,21 +700,11 @@ int dirbrowse()
#endif
break; /* case ACTION_TREE_STOP: */
case ACTION_STD_MENU:
/* don't enter menu from plugin browser */
if (*tc.dirfilter < NUM_FILTER_MODES)
{
return GO_TO_ROOT;
}
else /* use it as a quick exit instead */
return GO_TO_PREVIOUS;
return GO_TO_ROOT;
break;
case ACTION_TREE_WPS:
/* don't enter wps from plugin browser etc */
if (*tc.dirfilter < NUM_FILTER_MODES)
{
return GO_TO_PREVIOUS_MUSIC;
}
return GO_TO_PREVIOUS_MUSIC;
break;
#ifdef HAVE_QUICKSCREEN
case ACTION_STD_QUICKSCREEN: