1
0
Fork 0
mirror of https://github.com/juce-framework/JUCE.git synced 2026-01-14 00:14:18 +00:00

Projucer: Made the exporter selector box a bit more robust

This commit is contained in:
ed 2019-04-18 15:30:44 +01:00
parent 08798a9b72
commit a9b4dcd9e9

View file

@ -164,7 +164,7 @@ void HeaderComponent::updateExporters() noexcept
if (selectedName == exporter->getName())
exporterBox.setSelectedId (i + 1);
if (exporter->canLaunchProject() && preferredExporterIndex == -1)
if (exporter->getName().contains (ProjectExporter::getCurrentPlatformExporterName()) && preferredExporterIndex == -1)
preferredExporterIndex = i;
}