tree: don't attach container node to parent during construction
This commit is contained in:
parent
7f37e107af
commit
0ab9ec3b75
4 changed files with 31 additions and 35 deletions
|
|
@ -507,8 +507,7 @@ impl State {
|
|||
c.append_child(node);
|
||||
}
|
||||
} else {
|
||||
let container =
|
||||
ContainerNode::new(self, ws, ws.clone(), node, ContainerSplit::Horizontal);
|
||||
let container = ContainerNode::new(self, ws, node, ContainerSplit::Horizontal);
|
||||
ws.set_container(&container);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue