summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrzej Rybczak <electricityispower@gmail.com>2013-04-06 12:29:54 +0200
committerAndrzej Rybczak <electricityispower@gmail.com>2013-04-06 12:29:54 +0200
commitc79997c08b7c5dd9ea1a269888692fe861636af0 (patch)
treeb3ad5a3a2698bbc95a29b76409da6ab5ef72f9ad
parent946f90efdbeaa5809aeb7db583989a890a0d4edc (diff)
actions: ApplyFilter: apply filter at the end (fix for #3624)
-rw-r--r--src/actions.cpp5
1 files changed, 5 insertions, 0 deletions
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)
{