diff --git a/src/vs/workbench/services/views/browser/viewDescriptorService.ts b/src/vs/workbench/services/views/browser/viewDescriptorService.ts index 0dca0e7bf9e3b..edadb1ab37d9e 100644 --- a/src/vs/workbench/services/views/browser/viewDescriptorService.ts +++ b/src/vs/workbench/services/views/browser/viewDescriptorService.ts @@ -435,8 +435,6 @@ export class ViewDescriptorService extends Disposable implements IViewDescriptor } private moveViewsWithoutSaving(views: IViewDescriptor[], from: ViewContainer, to: ViewContainer, visibilityState: ViewVisibilityState = ViewVisibilityState.Expand): void { - const fromContainerViews = this.getViewsByContainer(from); - this.removeViews(from, views); this.addViews(to, views, visibilityState); @@ -445,10 +443,6 @@ export class ViewDescriptorService extends Disposable implements IViewDescriptor if (oldLocation !== newLocation) { this._onDidChangeLocation.fire({ views, from: oldLocation, to: newLocation }); - - if (fromContainerViews.length === views.length) { - this._onDidChangeViewContainers.fire({ removed: [{ container: from, location: oldLocation }], added: [] }); - } } this._onDidChangeContainer.fire({ views, from, to });