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

Introjucer: added a "save all" command.

This commit is contained in:
jules 2013-12-29 11:23:13 +00:00
parent ab053c5503
commit 4e085e7707
4 changed files with 23 additions and 8 deletions

View file

@ -257,9 +257,14 @@ bool OpenDocumentManager::anyFilesNeedSaving() const
bool OpenDocumentManager::saveAll()
{
for (int i = documents.size(); --i >= 0;)
{
if (! documents.getUnchecked (i)->save())
return false;
IntrojucerApp::getApp().mainWindowList.updateAllWindowTitles();
IntrojucerApp::getCommandManager().commandStatusChanged();
}
return true;
}