Add hint-display property to UITextInput.

Minor refactor in ProjectDirectoryTree.
This commit is contained in:
Martín Lucas Golini
2024-03-10 23:27:59 -03:00
parent 7d12ceeabb
commit 59c5e72f4d
12 changed files with 78 additions and 27 deletions

View File

@@ -2735,7 +2735,9 @@ void App::removeFolderWatches() {
void App::loadDirTree( const std::string& path ) {
Clock* clock = eeNew( Clock, () );
mDirTreeReady = false;
mDirTree = std::make_shared<ProjectDirectoryTree>( path, mThreadPool, this );
mDirTree = std::make_shared<ProjectDirectoryTree>(
path, mThreadPool, mPluginManager.get(),
[this]( auto path ) { loadFileFromPathOrFocus( path ); } );
Log::info( "Loading DirTree: %s", path );
mDirTree->scan(
[this, clock]( ProjectDirectoryTree& dirTree ) {