1
0
Fork 0
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:
Markus Schorn 2006-09-14 09:10:05 +00:00
parent 9b80d7cc67
commit 301ee51670

View file

@ -165,12 +165,13 @@ public class CElementContentProvider extends BaseCElementContentProvider impleme
} }
// We do not care about changes in Working copies // We do not care about changes in Working copies
if (element instanceof ITranslationUnit) { // well, we do see bugzilla 147694
ITranslationUnit unit = (ITranslationUnit) element; // if (element instanceof ITranslationUnit) {
if (unit.isWorkingCopy()) { // ITranslationUnit unit = (ITranslationUnit) element;
return; // if (unit.isWorkingCopy()) {
} // return;
} // }
// }
if (kind == ICElementDelta.REMOVED) { if (kind == ICElementDelta.REMOVED) {
Object parent = internalGetParent(element); Object parent = internalGetParent(element);