Skip to content

Commit e3da5a3

Browse files
committed
fix: do not split tabs/stacks
1 parent 800bf66 commit e3da5a3

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

window.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -481,6 +481,7 @@ var ForgeWindowManager = GObject.registerClass(
481481
break;
482482
case "Split":
483483
if (!focusNodeWindow) return;
484+
currentLayout = focusNodeWindow.parentNode.layout;
484485
if (currentLayout === Tree.LAYOUT_TYPES.STACKED || currentLayout === Tree.LAYOUT_TYPES.TABBED) {
485486
Logger.warn(`split not allowed on ${currentLayout}`);
486487
return;

0 commit comments

Comments
 (0)