aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPřemysl Eric Janouch <p@janouch.name>2022-01-12 11:14:35 +0100
committerPřemysl Eric Janouch <p@janouch.name>2022-01-12 11:15:35 +0100
commit6de5ab62984f50657ae679dc1174fe5c195710f0 (patch)
tree01bda2d478f20504992ae0143080e739abf7dcc5
parent757bc9beaabb8470a0d6cf2628269dbf720fbf31 (diff)
downloadfiv-6de5ab62984f50657ae679dc1174fe5c195710f0.tar.gz
fiv-6de5ab62984f50657ae679dc1174fe5c195710f0.tar.xz
fiv-6de5ab62984f50657ae679dc1174fe5c195710f0.zip
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.
-rw-r--r--fiv.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/fiv.c b/fiv.c
index 56944e3..227796c 100644
--- a/fiv.c
+++ b/fiv.c
@@ -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;
}
}