Select the file when Return-ing from the viewer

It might make sense to also do it on M-Left or the back button.
Not sure about it so far.
This commit is contained in:
Přemysl Eric Janouch 2022-01-12 11:14:35 +01:00
parent 757bc9beaa
commit 6de5ab6298
Signed by: p
GPG Key ID: A0420B94F92B9493

1
fiv.c
View File

@ -1131,6 +1131,7 @@ on_key_press_view(G_GNUC_UNUSED GtkWidget *widget, GdkEventKey *event,
case GDK_KEY_Return:
switch_to_browser();
fiv_browser_select(FIV_BROWSER(g.browser), g.uri);
return TRUE;
}
}