clear filters before jumping to media library

fix for issue #3300.
master
Andrzej Rybczak 15 years ago
parent 0c4c27ac6c
commit 3f064df95d
  1. 3
      src/media_library.cpp

@ -633,6 +633,7 @@ void MediaLibrary::LocateSong(const MPD::Song &s)
if (!hasTwoColumns)
{
Artists->ApplyFilter("");
if (Artists->Empty())
Update();
if (primary_tag != Artists->Current())
@ -650,6 +651,7 @@ void MediaLibrary::LocateSong(const MPD::Song &s)
}
}
Albums->ApplyFilter("");
if (Albums->Empty())
Update();
@ -672,6 +674,7 @@ void MediaLibrary::LocateSong(const MPD::Song &s)
}
}
Songs->ApplyFilter("");
if (Songs->Empty())
Update();

Loading…
Cancel
Save