Merge pull request #7 from getdunne/master
Ensure menu items are sorted on newer macOS versions
This commit is contained in:
commit
503df59b48
2 changed files with 2 additions and 2 deletions
|
@ -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)
|
||||||
|
|
|
@ -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());
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue