mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-04-23 22:52:11 +02:00
Bug 311189 attempt to refresh the resource (depth NONE) before removing the source entries
This commit is contained in:
parent
800ab8b171
commit
ce525dbe96
1 changed files with 5 additions and 2 deletions
|
@ -203,8 +203,11 @@ public class ResourceChangeHandler extends ResourceChangeHandlerBase implements
|
|||
assert(to == null || to.getProject().equals(from.getProject()));
|
||||
|
||||
// Bug 311189 -- if the resource still exists now, don't treat as a remove!
|
||||
if (to == null && from.exists())
|
||||
continue;
|
||||
if (to == null) {
|
||||
from.refreshLocal(IResource.DEPTH_ZERO, null);
|
||||
if (from.exists())
|
||||
continue;
|
||||
}
|
||||
|
||||
ICProjectDescription prjDesc = getProjectDescription(from);
|
||||
if (prjDesc == null)
|
||||
|
|
Loading…
Add table
Reference in a new issue