2
0
Fork 0

Merge pull request #7 from getdunne/master

Ensure menu items are sorted on newer macOS versions
This commit is contained in:
reales 2019-09-01 18:51:12 +02:00 committed by GitHub
commit 503df59b48
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View file

@ -645,7 +645,7 @@ void ObxdAudioProcessorEditor::mouseUp(const MouseEvent& e)
DirectoryIterator it(getFilter()->getSkinFolder(), false, "*", File::findDirectories); DirectoryIterator it(getFilter()->getSkinFolder(), false, "*", File::findDirectories);
while (it.next()) while (it.next())
{ {
skins.addUsingDefaultSort(it.getFile()); skins.addUsingDefaultSort(it.getFile());r
} }
for (int i = 0; i < skins.size(); ++i) for (int i = 0; i < skins.size(); ++i)

View file

@ -941,7 +941,7 @@ void ObxdAudioProcessor::scanAndUpdateBanks()
DirectoryIterator it(getBanksFolder(), false, "*.fxb", File::findFiles); DirectoryIterator it(getBanksFolder(), false, "*.fxb", File::findFiles);
while (it.next()) while (it.next())
{ {
bankFiles.add(it.getFile()); bankFiles.addUsingDefaultSort(it.getFile());
} }
} }