Skip to content
Snippets Groups Projects
Commit cded4c0b authored by Yoshiera's avatar Yoshiera
Browse files

Fix tree::should_remove_root failing

parent b458c907
No related branches found
No related tags found
No related merge requests found
......@@ -105,6 +105,8 @@ impl Tree {
if let Some(root_node) = self.root_node {
if root_node == index {
self.root_node = None;
self.parents.clear();
self.children.clear();
}
}
Vec::default()
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment