1
0
Fork 0
mirror of https://github.com/juce-framework/JUCE.git synced 2026-01-13 00:04:19 +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

@ -109,20 +109,6 @@ File ModuleList::getDefaultModulesFolder (Project* project)
{
if (project != nullptr)
{
{
// Try the platform default exporter first..
ScopedPointer <ProjectExporter> exp (ProjectExporter::createPlatformDefaultExporter (*project));
if (exp != nullptr)
{
const File f (getModulesFolderForExporter (*exp));
if (ModuleList::isModulesFolder (f))
return f;
}
}
// If that didn't work, try all the other exporters..
for (Project::ExporterIterator exporter (*project); exporter.next();)
{
const File f (getModulesFolderForExporter (*exporter));