From c79997c08b7c5dd9ea1a269888692fe861636af0 Mon Sep 17 00:00:00 2001 From: Andrzej Rybczak Date: Sat, 6 Apr 2013 12:29:54 +0200 Subject: [PATCH] actions: ApplyFilter: apply filter at the end (fix for #3624) --- src/actions.cpp | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/actions.cpp b/src/actions.cpp index 253beda8..f5deaabe 100644 --- a/src/actions.cpp +++ b/src/actions.cpp @@ -1781,7 +1781,12 @@ void ApplyFilter::run() Statusbar::msg("Filtering disabled"); } else + { + // apply filter here so even if old one wasn't modified + // (and callback wasn't invoked), it still gets applied. + f->applyFilter(filter); Statusbar::msg("Using filter \"%s\"", filter.c_str()); + } if (myScreen == myPlaylist) {