aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Arun Prakash Jana <engineerarun@gmail.com>2019-07-29 19:17:49 +0530
committerGravatar Arun Prakash Jana <engineerarun@gmail.com>2019-07-29 19:17:49 +0530
commitf1720c8f4443d10fd3d88da3f9946df59bb613df (patch)
tree4241e62acefa16efdcca77cf6aafc1c7bf0ccc2d
parent46aa0adafaf6629cb2dd8225f6ec56cd042522ec (diff)
downloadnnn-f1720c8f4443d10fd3d88da3f9946df59bb613df.tar.gz
Do not change filter state when clicked below last entry
-rw-r--r--src/nnn.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nnn.c b/src/nnn.c
index c5ca473..7e2531e 100644
--- a/src/nnn.c
+++ b/src/nnn.c
@@ -3491,7 +3491,7 @@ nochange:
/*Single click just selects, double click also opens */
if (event.bstate != BUTTON1_DOUBLE_CLICKED)
- break;
+ goto nochange;
} else {
if (cfg.filtermode)
presel = FILTER;