forked from len0rd/rockbox
The ON+Play menu in the playlist browser now behaves better, and it stays in the playlist menu after exiting
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5122 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
9c97f4d2a5
commit
a82fd17d82
1 changed files with 4 additions and 1 deletions
|
@ -902,7 +902,7 @@ bool playlist_viewer_ex(char* filename)
|
||||||
|
|
||||||
switch (button)
|
switch (button)
|
||||||
{
|
{
|
||||||
case TREE_EXIT:
|
case TREE_EXIT | BUTTON_REL:
|
||||||
exit = true;
|
exit = true;
|
||||||
break;
|
break;
|
||||||
|
|
||||||
|
@ -978,6 +978,9 @@ bool playlist_viewer_ex(char* filename)
|
||||||
/* ON+PLAY menu */
|
/* ON+PLAY menu */
|
||||||
int ret;
|
int ret;
|
||||||
|
|
||||||
|
/* Wait for the user to release the TREE_RUN key */
|
||||||
|
while((button_get(true)) != (TREE_RUN | BUTTON_REL)) {};
|
||||||
|
|
||||||
ret = onplay_menu(INDEX(viewer.cursor_pos));
|
ret = onplay_menu(INDEX(viewer.cursor_pos));
|
||||||
|
|
||||||
if (ret < 0)
|
if (ret < 0)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue