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:
parent
70ad10155f
commit
c5be8e0722
1 changed files with 7 additions and 2 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue