mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-04-29 19:45:01 +02:00
Make CView show changes to working copies, bug 147694
This commit is contained in:
parent
9b80d7cc67
commit
301ee51670
1 changed files with 7 additions and 6 deletions
|
@ -165,12 +165,13 @@ public class CElementContentProvider extends BaseCElementContentProvider impleme
|
|||
}
|
||||
|
||||
// We do not care about changes in Working copies
|
||||
if (element instanceof ITranslationUnit) {
|
||||
ITranslationUnit unit = (ITranslationUnit) element;
|
||||
if (unit.isWorkingCopy()) {
|
||||
return;
|
||||
}
|
||||
}
|
||||
// well, we do see bugzilla 147694
|
||||
// if (element instanceof ITranslationUnit) {
|
||||
// ITranslationUnit unit = (ITranslationUnit) element;
|
||||
// if (unit.isWorkingCopy()) {
|
||||
// return;
|
||||
// }
|
||||
// }
|
||||
|
||||
if (kind == ICElementDelta.REMOVED) {
|
||||
Object parent = internalGetParent(element);
|
||||
|
|
Loading…
Add table
Reference in a new issue