From 3f064df95dc0cd57176429894791f199b376379f Mon Sep 17 00:00:00 2001 From: Andrzej Rybczak Date: Mon, 1 Aug 2011 00:43:40 +0200 Subject: [PATCH] clear filters before jumping to media library fix for issue #3300. --- src/media_library.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/media_library.cpp b/src/media_library.cpp index 579b2ae8..9eea5b33 100644 --- a/src/media_library.cpp +++ b/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();