diff options
Diffstat (limited to 'src/playlist_edit.c')
-rw-r--r-- | src/playlist_edit.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/playlist_edit.c b/src/playlist_edit.c index 008ae3147..1a76273b4 100644 --- a/src/playlist_edit.c +++ b/src/playlist_edit.c @@ -243,7 +243,10 @@ deleteFromPlaylist(struct playlist *playlist, unsigned song) stopPlaylist(playlist); queued = NULL; - } + } else if (playlist->current == (int)songOrder) + /* there's a "current song" but we're not playing + currently - clear "current" */ + playlist->current = -1; /* now do it: remove the song */ |