Explorar el Código

Retain filter on single file removal

master
Arun Prakash Jana hace 4 años
padre
commit
e4b762dcc1
No se encontró ninguna clave conocida en la base de datos para esta firma ID de clave GPG: A75979F35C080412
Se han modificado 1 ficheros con 2 adiciones y 2 borrados
  1. +2
    -2
      src/nnn.c

+ 2
- 2
src/nnn.c Ver fichero

@@ -5071,14 +5071,14 @@ nochange:
mkpath(path, dents[cur].name, newpath);
xrm(newpath);

/* Don't optimize cur if filtering is on */
if (cur && access(newpath, F_OK) == -1)
move_cursor(cur - 1, 0);

/* We reduce cur only if it is > 0, so it's at least 0 */
copycurname();

clearfilter();
if (cfg.filtermode)
presel = FILTER;

goto begin;
}


Cargando…
Cancelar
Guardar