diff options
Diffstat (limited to 'apps')
-rw-r--r-- | apps/playlist_viewer.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/apps/playlist_viewer.c b/apps/playlist_viewer.c index d065ad32ce..e7558ea1ad 100644 --- a/apps/playlist_viewer.c +++ b/apps/playlist_viewer.c @@ -749,6 +749,8 @@ bool playlist_viewer_ex(char* filename) update_playlist(true); if (viewer.num_tracks <= 0) exit = true; + if(viewer.selected_track >= viewer.num_tracks) + viewer.selected_track = viewer.num_tracks-1; } gui_synclist_draw(&playlist_lists); break; |