summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/uicmd.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/uicmd.cc b/src/uicmd.cc
index 6b2c0e13..d3ab8ded 100644
--- a/src/uicmd.cc
+++ b/src/uicmd.cc
@@ -567,6 +567,7 @@ void a_UIcmd_open_url(BrowserWindow *bw, const DilloUrl *url)
{
if (url) {
a_Nav_push(bw, url, NULL);
+ BW2UI(bw)->focus_main();
} else {
// Used to start a bw with a blank screen
BW2UI(bw)->focus_location();