order toggle: show invalid key prompt (#433)

* order toggle: show invalid key prompt

* don't call statusbar()
This commit is contained in:
Maxim Baz 2020-01-13 14:09:54 +01:00 committed by Mischievous Meerkat
parent 97a50c6622
commit 101d4e8a07

View file

@ -5033,7 +5033,9 @@ nochange:
namecmpfn = (namecmpfn == &xstrverscasecmp) ? &xstricmp : &xstrverscasecmp;
break;
default:
cfg.filtermode ? presel = FILTER : statusbar(path);
if (cfg.filtermode)
presel = FILTER;
printwait(messages[MSG_INVALID_KEY], &presel);
goto nochange;
}
}