mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-04-29 19:45:01 +02:00
fixed bug where multiple binaries would show up after opening a project.
This commit is contained in:
parent
976822c247
commit
d9f3f27b16
2 changed files with 10 additions and 1 deletions
|
@ -1,3 +1,10 @@
|
|||
2004-04-13 David Inglis
|
||||
|
||||
Since the binary runner and the CModelManager adds binarys we need to make sure
|
||||
the child was not already added in the info.
|
||||
|
||||
* src/org/eclipse/cdt/internal/core/model/CElementInfo.java
|
||||
|
||||
2004-04-13 Alain Magloire
|
||||
|
||||
When encoding the PathEntry, make the "path" attribute project relative if
|
||||
|
|
|
@ -45,7 +45,9 @@ class CElementInfo {
|
|||
}
|
||||
|
||||
protected void addChild(ICElement child) {
|
||||
fChildren.add(child);
|
||||
if (!fChildren.contains(child)) {
|
||||
fChildren.add(child);
|
||||
}
|
||||
}
|
||||
|
||||
protected ICElement[] getChildren() {
|
||||
|
|
Loading…
Add table
Reference in a new issue