diff options
author | Jaakko Keränen <jaakko.keranen@iki.fi> | 2021-10-22 18:50:58 +0300 |
---|---|---|
committer | Jaakko Keränen <jaakko.keranen@iki.fi> | 2021-10-22 18:50:58 +0300 |
commit | b841043875e315418749bf2d423d324df0918364 (patch) | |
tree | 7434fb1cfc94feed610a4fdf1ed46031fcda47ed /src | |
parent | b86322d28b0598e2d64128b0dd99a1d86561e23a (diff) |
Window: Close buttons on merged tabs
Diffstat (limited to 'src')
-rw-r--r-- | src/ui/window.c | 1 |
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")); |