hey @dave96 the HiddenRoot
is the hidden root on my TreeView. you know that setting, “TreeView::hideTreeRoot(true)” or whatever it is? that’s all it is. it’s the root node of my ValueTree and TreeViewItem.
@jules the issue I kept running into was handling what to do when a node changes from being a leaf, to having children.
Once I figured out that tickboxes on nodes with children should not referTo
the completed
property on their respective ValueTree but instead compute how many of their children are completed out of all of their children to set the toggle state, things thinned out a bit.
I ended up ditching the whole system, as per this thread: