Browse Source

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

tags/2021-05-28
ed 7 years ago
parent
commit
c5be8e0722
1 changed files with 7 additions and 2 deletions
  1. +7
    -2
      extras/Projucer/Source/Project/jucer_Project.cpp

+ 7
- 2
extras/Projucer/Source/Project/jucer_Project.cpp 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);


Loading…
Cancel
Save