src/nnn.c | 3 ++- diff --git a/src/nnn.c b/src/nnn.c index e6665e77a3fe1386e42b68df07bca45aab0570de..9ca0240dc7490efad7eb336dd010b7e22b9ddded 100644 --- a/src/nnn.c +++ b/src/nnn.c @@ -7206,7 +7206,8 @@ presel = FILTER; copycurname(); goto nochange; case SEL_EDIT: - spawn(editor, newpath, NULL, NULL, F_CLI); + if (!g_state.picker) + spawn(editor, newpath, NULL, NULL, F_CLI); continue; default: /* SEL_LOCK */ lock_terminal();