mirror of
https://github.com/jarun/nnn.git
synced 2025-02-26 03:01:32 +00:00
Add check for non-empty selection buffer
This commit is contained in:
parent
8886f1cd56
commit
e901615fcc
1 changed files with 1 additions and 1 deletions
|
@ -2088,7 +2088,7 @@ static bool cpmvrm_selection(enum action sel, char *path)
|
||||||
{
|
{
|
||||||
int r;
|
int r;
|
||||||
|
|
||||||
if (isselfileempty()) {
|
if (!selbufpos && isselfileempty()) {
|
||||||
printmsg(messages[MSG_0_SELECTED]);
|
printmsg(messages[MSG_0_SELECTED]);
|
||||||
return FALSE;
|
return FALSE;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue