mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-07-24 17:35:35 +02:00
[148978] fix for empty dir problem - need to make the queried folder not stale after the query
This commit is contained in:
parent
c3698a5f78
commit
3d1a78f8e4
1 changed files with 3 additions and 1 deletions
|
@ -31,6 +31,7 @@ import org.eclipse.core.resources.IResource;
|
|||
import org.eclipse.core.runtime.IAdaptable;
|
||||
import org.eclipse.core.runtime.IPath;
|
||||
import org.eclipse.core.runtime.IProgressMonitor;
|
||||
import org.eclipse.core.runtime.NullProgressMonitor;
|
||||
import org.eclipse.core.runtime.Platform;
|
||||
import org.eclipse.core.runtime.SubProgressMonitor;
|
||||
import org.eclipse.jface.action.MenuManager;
|
||||
|
@ -722,7 +723,7 @@ public class SystemViewRemoteFileAdapter
|
|||
}
|
||||
else
|
||||
{
|
||||
children = ss.resolveFilterString(file, filter);
|
||||
children = ss.resolveFilterString(new NullProgressMonitor(), file, filter);
|
||||
}
|
||||
if ((children == null) || (children.length == 0))
|
||||
{
|
||||
|
@ -746,6 +747,7 @@ public class SystemViewRemoteFileAdapter
|
|||
SystemBasePlugin.logError("Exception resolving file filter strings", exc); //$NON-NLS-1$
|
||||
} // message already issued
|
||||
}
|
||||
file.markStale(false);
|
||||
return children;
|
||||
}
|
||||
/**
|
||||
|
|
Loading…
Add table
Reference in a new issue