mirror of
https://github.com/Trensa-Organization/hy3.git
synced 2025-03-15 18:53:40 +01:00
Fix segfaults caused by new groups not having lastFocusedChild set
This commit is contained in:
parent
399da472a0
commit
d087b83249
1 changed files with 1 additions and 0 deletions
|
@ -917,6 +917,7 @@ void Hy3Layout::makeGroupOn(CWindow* window, Hy3GroupLayout layout) {
|
|||
|
||||
node->data = layout;
|
||||
node->data.as_group.children.push_back(&this->nodes.back());
|
||||
node->data.as_group.lastFocusedChild = &this->nodes.back();
|
||||
node->recalcSizePosRecursive();
|
||||
|
||||
return;
|
||||
|
|
Loading…
Add table
Reference in a new issue