mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-08-21 23:33:57 +02:00
When doing ther reset of the binary parser,
recreate the project.
This commit is contained in:
parent
b046eac006
commit
25d400816f
1 changed files with 11 additions and 7 deletions
|
@ -356,7 +356,11 @@ public class CModelManager implements IResourceChangeListener {
|
|||
if (project != null) {
|
||||
ICElement celement = create(project);
|
||||
if (celement != null) {
|
||||
// Let the function remove the children
|
||||
// but it has the side of effect of removing the CProject also
|
||||
// so we have to recall create again.
|
||||
releaseCElement(celement);
|
||||
celement = create(project);
|
||||
// Fired and ICElementDelta.PARSER_CHANGED
|
||||
CElementDelta delta = new CElementDelta(getCModel());
|
||||
delta.binaryParserChanged(celement);
|
||||
|
|
Loading…
Add table
Reference in a new issue