Commit 1b7e4b8e authored by con's avatar con
Browse files

Fixes "save modified files before build" in case of multiple projects.

Initial-patch-by: Christian Hönig
parent 8c8e9753
......@@ -1297,6 +1297,9 @@ bool ProjectExplorerPlugin::saveModifiedFiles(const QList<Project *> & projects)
foreach (Project *pro, projects)
allFiles << allFilesWithDependencies(pro);
// allFiles must be sorted for the algorithm to work
foreach (Core::IFile * fi, modifiedFi)
modified.insert(fi->fileName(), fi);
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment