Edit: found the problem, user error, not Juce. :oops:
Juce, when using setDirectory in a DirectoryContentsList object in real-time, it doesn´t update the root item name. Is this a bug? Or I must do this in another way? (which I haven´t figured out yet)
You’re not explaining your problem very well… Calling DirectoryContentsList::setDirectory() will definitely set its root folder - i.e. a subsequent call to DirectoryContentsList::getDirectory() will return the new folder. Presumably you’re actually talking about some other class that’s not picking up this change? And how are TreeViews involved?