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

Projucer: Save all open documents when saving a project via the GUI

This commit is contained in:
ed 2018-05-18 09:07:35 +01:00
parent 70ad10155f
commit c5be8e0722

View file

@ -606,8 +606,13 @@ Result Project::saveProject (const File& file, bool isCommandLineApp)
updateProjectSettings();
if (! isCommandLineApp && ! isTemporaryProject())
registerRecentFile (file);
if (! isCommandLineApp)
{
ProjucerApplication::getApp().openDocumentManager.saveAll();
if (! isTemporaryProject())
registerRecentFile (file);
}
const ScopedValueSetter<bool> vs (isSaving, true, false);