diff --git a/src/vs/workbench/contrib/files/common/explorerModel.ts b/src/vs/workbench/contrib/files/common/explorerModel.ts index 89873e5ebb6287e36873f31fe0276c4843f33cf5..90d81ae2e9d30b2fdc59e54f031f7a8177f58cdf 100644 --- a/src/vs/workbench/contrib/files/common/explorerModel.ts +++ b/src/vs/workbench/contrib/files/common/explorerModel.ts @@ -77,7 +77,7 @@ export class ExplorerModel implements IDisposable { } export class ExplorerItem { - private _isDirectoryResolved: boolean; + protected _isDirectoryResolved: boolean; private _isDisposed: boolean; public isError = false; @@ -402,5 +402,6 @@ export class ExplorerItem { export class NewExplorerItem extends ExplorerItem { constructor(fileService: IFileService, parent: ExplorerItem, isDirectory: boolean) { super(URI.file(''), fileService, parent, isDirectory); + this._isDirectoryResolved = true; } }