actions: fix filter clearing

This commit is contained in:
Andrzej Rybczak
2012-09-03 19:54:23 +02:00
parent 506e79b4b1
commit 8ab8da2a30
2 changed files with 3 additions and 1 deletions

View File

@@ -2020,7 +2020,10 @@ void ApplyFilter::Run()
std::string filter = f->currentFilter();
if (filter.empty())
{
myPlaylist->Items->clearFilterResults();
ShowMessage("Filtering disabled");
}
else
ShowMessage("Using filter \"%s\"", filter.c_str());

View File

@@ -379,7 +379,6 @@ MPD::SongList Playlist::getSelectedSongs()
/***********************************************************************/
bool Playlist::isFiltered()
{
if (Items->isFiltered())