summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/notebook.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/notebook.c b/src/notebook.c
index 0185bdf..57740c0 100644
--- a/src/notebook.c
+++ b/src/notebook.c
@@ -369,6 +369,8 @@ mq_notebook_insert_top(MqNotebook *notebook, const gchar *uri,
if (!uri || !uri[0]) {
mq_tab_page_focus_uri_entry(node->page);
+ } else {
+ mq_tab_page_focus_web_view(node->page);
}
return node->page;
@@ -396,6 +398,8 @@ mq_notebook_insert_sibling(MqNotebook *notebook, const gchar *uri,
mq_tree_position(node) - 1);
if (!uri || !uri[0]) {
mq_tab_page_focus_uri_entry(node->page);
+ } else {
+ mq_tab_page_focus_web_view(node->page);
}
}
@@ -424,6 +428,8 @@ mq_notebook_insert_child(MqNotebook *notebook, const gchar *uri,
mq_tree_position(node) - 1);
if (!uri || !uri[0]) {
mq_tab_page_focus_uri_entry(node->page);
+ } else {
+ mq_tab_page_focus_web_view(node->page);
}
}