From d2db864293e24bc5b9334b3b037100d92cbb9d23 Mon Sep 17 00:00:00 2001 From: Andrzej Rybczak Date: Fri, 25 Dec 2015 15:35:34 +0100 Subject: [PATCH] media library: fix gathering of selected songs --- NEWS | 1 + src/media_library.cpp | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) 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 MediaLibrary::getSelectedSongs() } } else if (isActiveWindow(Songs)) - Songs.getSelectedSongs(); + result = Songs.getSelectedSongs(); return result; }