mirror of
https://github.com/juce-framework/JUCE.git
synced 2026-01-13 00:04:19 +00:00
Projucer: More robust check for getting a module folder
This commit is contained in:
parent
7a22f133c4
commit
98724ecced
1 changed files with 2 additions and 2 deletions
|
|
@ -669,12 +669,12 @@ File EnabledModuleList::getModuleFolderFromPathIfItExists (const String& path, c
|
|||
|
||||
if (moduleFolder.exists())
|
||||
{
|
||||
if (ModuleDescription (moduleFolder).isValid())
|
||||
if (ModuleDescription (moduleFolder).getID() == moduleID)
|
||||
return moduleFolder;
|
||||
|
||||
auto f = moduleFolder.getChildFile (moduleID);
|
||||
|
||||
if (ModuleDescription (f).isValid())
|
||||
if (ModuleDescription (f).getID() == moduleID)
|
||||
return f;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue