mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-04-29 19:45:01 +02:00
Return F_OPENED for opening c/c++ project
This commit is contained in:
parent
2a2bfe1633
commit
e5d98eb477
1 changed files with 1 additions and 6 deletions
|
@ -282,15 +282,10 @@ public class DeltaProcessor {
|
|||
|
||||
if (element.getElementType() == ICElement.C_PROJECT) {
|
||||
// treat project opening as addition
|
||||
if (hasCNature(delta.getResource())) {
|
||||
elementAdded(element, delta);
|
||||
}
|
||||
CModelInfo rootInfo = (CModelInfo)CModelManager.getDefault().getCModel().getElementInfo();
|
||||
rootInfo.setNonCResources(null);
|
||||
|
||||
} else {
|
||||
fCurrentDelta.opened(element);
|
||||
}
|
||||
fCurrentDelta.opened(element);
|
||||
}
|
||||
|
||||
/*
|
||||
|
|
Loading…
Add table
Reference in a new issue