]> Sergey Matveev's repositories - nnn.git/commitdiff
Clear filter on dir changes
authorArun Prakash Jana <engineerarun@gmail.com>
Sun, 5 Jan 2020 21:24:31 +0000 (02:54 +0530)
committerArun Prakash Jana <engineerarun@gmail.com>
Sun, 5 Jan 2020 21:24:31 +0000 (02:54 +0530)
src/nnn.c

index afe7fae4a328547142791748e27104d76b6dc78f..7055b4ec4f37b9cf62df325ce74c8c575af065a9 100644 (file)
--- a/src/nnn.c
+++ b/src/nnn.c
@@ -5053,6 +5053,8 @@ nochange:
                        if (!cpmvrm_selection(sel, path, &presel))
                                goto nochange;
 
+                       clearfilter();
+
                        /* Show notification on operation complete */
                        if (cfg.x11)
                                plugscript(utils[UTIL_NTFY], newpath, F_NOWAIT | F_NOTRACE);