1
0
Fork 0
mirror of https://github.com/juce-framework/JUCE.git synced 2026-01-14 00:14:18 +00:00

Introjucer: Improved error messages when module paths are invalid

This commit is contained in:
jules 2015-10-27 12:50:52 +00:00
parent 0506bc6100
commit f8c90cebe4
2 changed files with 29 additions and 11 deletions

View file

@ -763,12 +763,7 @@ void EnabledModuleList::removeModule (String moduleID) // must be pass-by-value,
void EnabledModuleList::createRequiredModules (OwnedArray<LibraryModule>& modules)
{
for (int i = 0; i < getNumModules(); ++i)
{
ModuleDescription info (getModuleInfo (getModuleID (i)));
if (info.isValid())
modules.add (new LibraryModule (info));
}
modules.add (new LibraryModule (getModuleInfo (getModuleID (i))));
}
StringArray EnabledModuleList::getAllModules() const