summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/tab.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/tab.c b/src/tab.c
index 22fdc3e..0adf5e0 100644
--- a/src/tab.c
+++ b/src/tab.c
@@ -339,6 +339,8 @@ mq_tab_new(MqWindow *window, gchar *uri, MqTab *source)
append_sibling(tab, source);
+ mq_window_insert_tab(window, tab->container, tab->tab, tab->position);
+
return tab;
}
@@ -351,6 +353,8 @@ mq_tab_new_relative(MqWindow *window, gchar *uri, MqTab *source)
append_child(tab, source);
+ mq_window_insert_tab(window, tab->container, tab->tab, tab->position);
+
return tab;
}