media library: fix gathering of selected songs

master
Andrzej Rybczak 10 years ago
parent 994af07ab7
commit d2db864293
  1. 1
      NEWS
  2. 2
      src/media_library.cpp

@ -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.

@ -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;
} }

Loading…
Cancel
Save