1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-04-29 19:45:01 +02:00

bug 378590: Fixed error message in the log

This commit is contained in:
Andrew Gvozdev 2012-07-12 18:41:16 -04:00
parent 8114a24402
commit e477f03d08

View file

@ -982,8 +982,10 @@ public class CModelManager implements IResourceChangeListener, IContentTypeChang
try {
IProject project = ResourcesPlugin.getWorkspace().getRoot().getProject(event.getProjectName());
// Recalculate cached settings
CoreModel.getDefault().updateProjectDescriptions(new IProject[] {project}, null);
// Recalculate cached settings unless already inside CProjectDescriptionManager.setProjectDescription()
if (!CProjectDescriptionManager.getInstance().isCurrentThreadSetProjectDescription()) {
CoreModel.getDefault().updateProjectDescriptions(new IProject[] {project}, null);
}
// Notify listeners
ICProject cproject = CModelManager.getDefault().getCModel().getCProject(project);