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:
parent
8114a24402
commit
e477f03d08
1 changed files with 4 additions and 2 deletions
|
@ -982,8 +982,10 @@ public class CModelManager implements IResourceChangeListener, IContentTypeChang
|
||||||
try {
|
try {
|
||||||
IProject project = ResourcesPlugin.getWorkspace().getRoot().getProject(event.getProjectName());
|
IProject project = ResourcesPlugin.getWorkspace().getRoot().getProject(event.getProjectName());
|
||||||
|
|
||||||
// Recalculate cached settings
|
// Recalculate cached settings unless already inside CProjectDescriptionManager.setProjectDescription()
|
||||||
CoreModel.getDefault().updateProjectDescriptions(new IProject[] {project}, null);
|
if (!CProjectDescriptionManager.getInstance().isCurrentThreadSetProjectDescription()) {
|
||||||
|
CoreModel.getDefault().updateProjectDescriptions(new IProject[] {project}, null);
|
||||||
|
}
|
||||||
|
|
||||||
// Notify listeners
|
// Notify listeners
|
||||||
ICProject cproject = CModelManager.getDefault().getCModel().getCProject(project);
|
ICProject cproject = CModelManager.getDefault().getCModel().getCProject(project);
|
||||||
|
|
Loading…
Add table
Reference in a new issue