summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/ui/window.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/ui/window.c b/src/ui/window.c
index 352b0797..eed0a951 100644
--- a/src/ui/window.c
+++ b/src/ui/window.c
@@ -1476,6 +1476,7 @@ void setSplitMode_MainWindow(iMainWindow *d, int splitFlags) {
1476 iWidget *docTabs = findWidget_Root("doctabs"); 1476 iWidget *docTabs = findWidget_Root("doctabs");
1477 iForEach(ObjectList, j, tabs) { 1477 iForEach(ObjectList, j, tabs) {
1478 appendTabPage_Widget(docTabs, j.object, "", 0, 0); 1478 appendTabPage_Widget(docTabs, j.object, "", 0, 0);
1479 addTabCloseButton_Widget(docTabs, j.object, "tabs.close");
1479 } 1480 }
1480 /* The last child is the [+] button for adding a tab. */ 1481 /* The last child is the [+] button for adding a tab. */
1481 moveTabButtonToEnd_Widget(findChild_Widget(docTabs, "newtab")); 1482 moveTabButtonToEnd_Widget(findChild_Widget(docTabs, "newtab"));