file-browser: prevent backspace from navigating up on the desktop

This commit is contained in:
K. Lange 2022-06-01 05:59:35 +09:00
parent c47102559b
commit 27adbe8dd3

View File

@ -2116,7 +2116,9 @@ int main(int argc, char * argv[]) {
arrow_select(1,0);
break;
case KEY_BACKSPACE:
_menu_action_up(NULL);
if (!is_desktop_background) {
_menu_action_up(NULL);
}
break;
case '\n':
_menu_action_open(NULL);