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

Projucer: Repeat writeMainProjectFile() when saving so that config flags are written correctly

This commit is contained in:
ed 2018-02-05 11:38:28 +00:00
parent 6ee9030e37
commit d55f4956f8

View file

@ -89,7 +89,6 @@ public:
if (errors.size() == 0)
{
writeMainProjectFile();
project.updateModificationTime();
writeAppConfigFile (modules, appConfigUserContent);
writeBinaryDataFiles();
@ -98,6 +97,9 @@ public:
writeProjects (modules, specifiedExporterToSave, ! showProgressBox);
writeAppConfigFile (modules, appConfigUserContent); // (this is repeated in case the projects added anything to it)
writeMainProjectFile(); // this is repeated so that the config flags are written correctly
project.updateModificationTime();
if (generatedCodeFolder.exists())
writeReadmeFile();
}