diff options
author | Arun Prakash Jana <engineerarun@gmail.com> | 2020-03-14 03:00:41 +0530 |
---|---|---|
committer | Arun Prakash Jana <engineerarun@gmail.com> | 2020-03-14 05:14:25 +0530 |
commit | 2d952795a848a8430e5ffcc5613fcedcd0d860b3 (patch) | |
tree | 640cfdde5cc8d11c30269715efde29780da35adb /src | |
parent | 02754205a295bbd57872be9a41df57f1a8289325 (diff) | |
download | nnn-2d952795a848a8430e5ffcc5613fcedcd0d860b3.tar.gz |
Start watching dir if filter mode is disabled
Diffstat (limited to 'src')
-rw-r--r-- | src/nnn.c | 7 |
1 files changed, 5 insertions, 2 deletions
@@ -5534,7 +5534,11 @@ nochange: /* Start watching the directory */ dir_changed = TRUE; - break; + + /* Save current */ + if (ndents) + copycurname(); + goto begin; case SEL_HIDDEN: cfg.showhidden ^= 1; if (ndents) @@ -5568,7 +5572,6 @@ nochange: if (!g_ctx[cfg.curctx].c_fltr[1]) goto begin; - presel = FILTER; /* If there's a filter, apply it */ break; case SEL_STATS: // fallthrough case SEL_CHMODX: |