Browse Source

Projucer: Ensure that getAvailableModulesInGlobalPath() can handle paths starting with "~"

tags/2021-05-28
ed 7 years ago
parent
commit
978edcff38
1 changed files with 2 additions and 0 deletions
  1. +2
    -0
      extras/Projucer/Source/Project/UI/Sidebar/jucer_ModuleTreeItems.h

+ 2
- 0
extras/Projucer/Source/Project/UI/Sidebar/jucer_ModuleTreeItems.h View File

@@ -626,6 +626,8 @@ public:
for (auto p : paths)
{
p = p.replace ("~", File::getSpecialLocation (File::userHomeDirectory).getFullPathName());
auto f = File::createFileWithoutCheckingPath (p.trim());
if (f.exists())
list.addAllModulesInFolder (f);


Loading…
Cancel
Save