aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/nnn.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/nnn.c b/src/nnn.c
index baeef06..336c0c1 100644
--- a/src/nnn.c
+++ b/src/nnn.c
@@ -1999,9 +1999,8 @@ static bool cpmvrm_selection(enum action sel, char *path)
return FALSE;
}
- /* Clear selection on move or delete */
- if (sel != SEL_CP)
- clearselection();
+ /* Clear selection */
+ clearselection();
return TRUE;
}