mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-07-25 09:55:29 +02:00
Fix for 192415: Outline view sometimes does not populate
This commit is contained in:
parent
743ad102bb
commit
90c5f04bd5
1 changed files with 2 additions and 3 deletions
|
@ -48,8 +48,7 @@ public class ReconcileWorkingCopyOperation extends CModelOperation {
|
|||
}
|
||||
|
||||
WorkingCopy workingCopy = getWorkingCopy();
|
||||
boolean wasOpen= workingCopy.isOpen();
|
||||
boolean wasConsistent = wasOpen && workingCopy.isConsistent();
|
||||
boolean wasConsistent = workingCopy.isConsistent();
|
||||
CElementDeltaBuilder deltaBuilder = null;
|
||||
|
||||
try {
|
||||
|
@ -64,7 +63,7 @@ public class ReconcileWorkingCopyOperation extends CModelOperation {
|
|||
|
||||
// register the deltas
|
||||
if (deltaBuilder.delta != null) {
|
||||
if (!wasOpen || deltaBuilder.delta.getAffectedChildren().length > 0) {
|
||||
if (!wasConsistent || forceProblemDetection || deltaBuilder.delta.getAffectedChildren().length > 0) {
|
||||
addReconcileDelta(workingCopy, deltaBuilder.delta);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue