queue/Playlist: call MoveOrderToCurrent() in SeekSongOrder() on song change

Applies the improvements from the previous commit to the "seek"
commands, which are also capable of switching songs.

Closes #119
This commit is contained in:
Max Kellermann 2017-10-17 19:33:56 +02:00
parent 91254e9211
commit 10990a0684

View File

@ -223,6 +223,8 @@ playlist::SeekSongOrder(PlayerControl &pc, unsigned i, SongTime seek_time)
/* seeking is not within the current song - prepare
song change */
i = MoveOrderToCurrent(i);
playing = true;
current = i;