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