Skip to content
Snippets Groups Projects
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
No related branches found
No related tags found
No related merge requests found
......@@ -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
qSort(allFiles);
foreach (Core::IFile * fi, modifiedFi)
modified.insert(fi->fileName(), fi);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment