Ver código fonte

Clear selection after some operations (see notes)

Selection is cleared after successful:
- file removal
- batch rename
- link creation

However, selection is not cleared after:
- archive creation: user may want to delete the files after archiving
master
Arun Prakash Jana 4 anos atrás
pai
commit
d9b8b0e821
Nenhuma chave conhecida encontrada para esta assinatura no banco de dados ID da chave GPG: A75979F35C080412
1 arquivos alterados com 2 adições e 0 exclusões
  1. +2
    -0
      src/nnn.c

+ 2
- 0
src/nnn.c Ver arquivo

@@ -3005,6 +3005,7 @@ static int xlink(char *prefix, char *path, char *curfname, char *buf, int *prese
psel += len + 1;
}

clearselection();
return count;
}

@@ -5963,6 +5964,7 @@ nochange:
printwait(messages[MSG_FAILED], &presel);
goto nochange;
}
clearselection();
refresh = TRUE;
break;
case SEL_HELP:


Carregando…
Cancelar
Salvar