mirror of
https://github.com/juce-framework/JUCE.git
synced 2026-01-10 23:44:24 +00:00
Projucer: Fixed a getting the module list for new projects
This commit is contained in:
parent
5c26cd5586
commit
67d2ff2ec8
2 changed files with 6 additions and 5 deletions
|
|
@ -203,12 +203,12 @@ ThreadPoolJob* AvailableModuleList::createScannerJob (const Array<File>& paths)
|
|||
{
|
||||
return new ModuleScannerJob (paths, [this] (ModuleIDAndFolderList scannedModuleList)
|
||||
{
|
||||
{
|
||||
const ScopedLock swapLock (lock);
|
||||
moduleList.swap (scannedModuleList);
|
||||
}
|
||||
{
|
||||
const ScopedLock swapLock (lock);
|
||||
moduleList.swap (scannedModuleList);
|
||||
}
|
||||
|
||||
MessageManager::callAsync ([this] { listeners.call ([] (Listener& l) { l.availableModulesChanged(); }); });
|
||||
listeners.call ([] (Listener& l) { MessageManager::callAsync ([&] { l.availableModulesChanged(); }); });
|
||||
});
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -52,6 +52,7 @@ Project::Project (const File& f)
|
|||
setFile (f);
|
||||
|
||||
removeDefunctExporters();
|
||||
exporterPathsModuleList.reset (new AvailableModuleList());
|
||||
updateOldModulePaths();
|
||||
updateOldStyleConfigList();
|
||||
setCppVersionFromOldExporterSettings();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue