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 c4acd9e..63af87b 100644
--- a/src/tab.c
+++ b/src/tab.c
@@ -327,6 +327,8 @@ mq_tab_new(MqApplication *application, gchar *uri, MqTab *source)
tab = init_non_root(application, uri);
+ append_sibling(tab, source);
+
return tab;
}
@@ -337,6 +339,8 @@ mq_tab_new_relative(MqApplication *application, gchar *uri, MqTab *source)
tab = init_non_root(application, uri);
+ append_child(tab, source);
+
return tab;
}