media library: fix gathering of selected songs

This commit is contained in:
Andrzej Rybczak
2015-12-25 15:35:34 +01:00
parent 994af07ab7
commit d2db864293
2 changed files with 2 additions and 1 deletions

1
NEWS
View File

@@ -1,4 +1,5 @@
ncmpcpp-0.7.1 (????-??-??) ncmpcpp-0.7.1 (????-??-??)
* Selected songs in media library can now be added to playlists.
ncmpcpp-0.7 (2015-11-22) ncmpcpp-0.7 (2015-11-22)
* Playlist sorting dialog now contains 'Album artist' option. * Playlist sorting dialog now contains 'Album artist' option.

View File

@@ -702,7 +702,7 @@ std::vector<MPD::Song> MediaLibrary::getSelectedSongs()
} }
} }
else if (isActiveWindow(Songs)) else if (isActiveWindow(Songs))
Songs.getSelectedSongs(); result = Songs.getSelectedSongs();
return result; return result;
} }