Assert in TreeView


#1

Hi,

There is an assert when using the TreeView.

TreeViewContentComponent::paint calls TreeView::handleAsyncUpdate()
but when it needs recalculating setSize is called on TreeViewContentComponent

Problem is there is an assert telling

// It’s a very bad idea to try to resize a component during its paint() method!
jassert (! (flags.isInsidePaintCall && wasResized));

Thanks,


#2

oh no! Foiled by my own assertion!

Ok, I’ll need to figure out a way around that one…


#3