4f4fce6d3c65c87455c37cbf1f0dba3d9e47575a
- Author
- outfoxxed <outfoxxed@outfoxxed.me>
- Committer
- outfoxxed <outfoxxed@outfoxxed.me>
- Date
Message
Fix being able to open a stack of tab groups
Diff
1diff --git a/src/Hy3Layout.cpp b/src/Hy3Layout.cpp
2index 7c3956fcc4824f6606becb39e3ca9205ea598834..315257fd573f9b1f2fae0d15552c19b57b361445 100644
3--- a/src/Hy3Layout.cpp
4+++ b/src/Hy3Layout.cpp
5@@ -1296,10 +1296,7 @@ void Hy3Layout::makeGroupOn(Hy3Node* node, Hy3GroupLayout layout) {
6
7 if (node->parent != nullptr) {
8 auto& group = node->parent->data.as_group;
9- if (group.children.size() == 1
10- && (group.layout == Hy3GroupLayout::SplitH
11- || group.layout == Hy3GroupLayout::SplitV))
12- {
13+ if (group.children.size() == 1) {
14 group.layout = layout;
15 node->parent->recalcSizePosRecursive();
16 return;