summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/window.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/window.c b/src/window.c
index fcf2560..9b43f9c 100644
--- a/src/window.c
+++ b/src/window.c
@@ -33,7 +33,7 @@ add_tab(MqApplication *application, MqWindow *window, gchar *uri, gint position)
MqTab *tab;
GtkWidget *tab_widget;
- tab = mq_tab_new(application, uri);
+ tab = mq_tab_new_relative(application, uri, window->root_tab);
tab_widget = mq_tab_get_container(tab);
position = gtk_notebook_insert_page(GTK_NOTEBOOK(window->notebook),