summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrzej Rybczak <electricityispower@gmail.com>2015-12-25 15:35:34 +0100
committerAndrzej Rybczak <electricityispower@gmail.com>2015-12-25 15:35:34 +0100
commitd2db864293e24bc5b9334b3b037100d92cbb9d23 (patch)
tree38079fcc164faf83125f235a21e5b3739b3ccc62
parent994af07ab7fe7f5b6eb4c12d9a7b533765dfdf8d (diff)
media library: fix gathering of selected songs
-rw-r--r--NEWS1
-rw-r--r--src/media_library.cpp2
2 files changed, 2 insertions, 1 deletions
diff --git a/NEWS b/NEWS
index c5ea29d5..e66eddd3 100644
--- a/NEWS
+++ b/NEWS
@@ -1,4 +1,5 @@
ncmpcpp-0.7.1 (????-??-??)
+* Selected songs in media library can now be added to playlists.
ncmpcpp-0.7 (2015-11-22)
* Playlist sorting dialog now contains 'Album artist' option.
diff --git a/src/media_library.cpp b/src/media_library.cpp
index 44ff9925..eaeb0c67 100644
--- a/src/media_library.cpp
+++ b/src/media_library.cpp
@@ -702,7 +702,7 @@ std::vector<MPD::Song> MediaLibrary::getSelectedSongs()
}
}
else if (isActiveWindow(Songs))
- Songs.getSelectedSongs();
+ result = Songs.getSelectedSongs();
return result;
}