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

Introjucer: launching a project now opens the first possible exporter in the list.

This commit is contained in:
jules 2012-09-04 21:08:52 +01:00
parent abb4946191
commit b11527d751
9 changed files with 36 additions and 117 deletions

View file

@ -452,10 +452,9 @@ void ProjectContentComponent::openInIDE()
{
if (project != nullptr)
{
ScopedPointer <ProjectExporter> exporter (ProjectExporter::createPlatformDefaultExporter (*project));
if (exporter != nullptr)
exporter->launchProject();
for (Project::ExporterIterator exporter (*project); exporter.next();)
if (exporter->launchProject())
break;
}
}