summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAndrzej Rybczak <electricityispower@gmail.com>2012-09-16 03:04:37 +0200
committerAndrzej Rybczak <electricityispower@gmail.com>2012-09-16 03:04:37 +0200
commite2c1c6f36546ad06e26d153ed19a9fbecfbc4aae (patch)
tree205792e02885010316ce78bd9d3c17a95f58d666 /src
parent42188b8768d167d5e742803135e6f476b11727f9 (diff)
selected items added: fix position in adding after current song
Diffstat (limited to 'src')
-rw-r--r--src/sel_items_adder.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/sel_items_adder.cpp b/src/sel_items_adder.cpp
index 6ae46e22..a7a915af 100644
--- a/src/sel_items_adder.cpp
+++ b/src/sel_items_adder.cpp
@@ -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();