File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -994,6 +994,7 @@ class WelcomePanel final : public Component
994994 auto patchFile = file.getChildFile (patchName);
995995 if (patchFile.existsAsFile ()) {
996996 allPatches.add ({ patchFile, hash (title + author), installTime });
997+ continue ;
997998 }
998999 }
9991000 }
@@ -1003,12 +1004,11 @@ class WelcomePanel final : public Component
10031004 }
10041005 for (auto & subfile : OSUtils::iterateDirectory (file, false , false )) {
10051006 if (subfile.hasFileExtension (" pd" )) {
1006- if (metaFileExists) {
1007- allPatches.add ({ subfile, hash (title + author), installTime });
1008- } else {
1007+ if (!metaFileExists) {
10091008 title = subfile.getFileNameWithoutExtension ();
10101009 installTime = 0 ;
10111010 }
1011+ allPatches.add ({ subfile, hash (title + author), installTime });
10121012 break ;
10131013 }
10141014 }
You can’t perform that action at this time.
0 commit comments