Don't show smart playlists in the library when it's filtered

This commit is contained in:
David Sansome 2010-11-21 12:16:40 +00:00
parent dd1c3b2e68
commit a73b46d382
1 changed files with 1 additions and 1 deletions

View File

@ -446,7 +446,7 @@ void LibraryModel::Reset() {
CreateCompilationArtistNode(false, root_);
// Smart playlists?
if (show_smart_playlists_)
if (show_smart_playlists_ && query_options_.filter.isEmpty())
CreateSmartPlaylists();
// Populate top level