selected items added: fix position in adding after current song
This commit is contained in:
@@ -262,6 +262,7 @@ void SelectedItemsAdder::addAfterCurrentSong() const
|
|||||||
if (!Mpd.isPlaying())
|
if (!Mpd.isPlaying())
|
||||||
return;
|
return;
|
||||||
size_t pos = Mpd.GetCurrentlyPlayingSongPos();
|
size_t pos = Mpd.GetCurrentlyPlayingSongPos();
|
||||||
|
++pos;
|
||||||
bool success = addSongsToPlaylist(m_selected_items, false, pos);
|
bool success = addSongsToPlaylist(m_selected_items, false, pos);
|
||||||
if (success)
|
if (success)
|
||||||
exitSuccessfully();
|
exitSuccessfully();
|
||||||
|
|||||||
Reference in New Issue
Block a user