diff options
Diffstat (limited to 'apps')
-rw-r--r-- | apps/playlist_viewer.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/apps/playlist_viewer.c b/apps/playlist_viewer.c index 4268a28c86..e872b495b3 100644 --- a/apps/playlist_viewer.c +++ b/apps/playlist_viewer.c @@ -902,7 +902,7 @@ bool playlist_viewer_ex(char* filename) switch (button) { - case TREE_EXIT: + case TREE_EXIT | BUTTON_REL: exit = true; break; @@ -978,6 +978,9 @@ bool playlist_viewer_ex(char* filename) /* ON+PLAY menu */ 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)); if (ret < 0) |