From 28c7b2ee01df29e042ea2da7663632e3729404db Mon Sep 17 00:00:00 2001 From: isidor Date: Thu, 21 Sep 2017 17:00:31 +0200 Subject: [PATCH] null check fixes #34746 --- src/vs/workbench/browser/parts/compositePart.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/vs/workbench/browser/parts/compositePart.ts b/src/vs/workbench/browser/parts/compositePart.ts index 31d7e3c1ee819..4c9a65800900c 100644 --- a/src/vs/workbench/browser/parts/compositePart.ts +++ b/src/vs/workbench/browser/parts/compositePart.ts @@ -351,7 +351,7 @@ export abstract class CompositePart extends Part { private updateTitle(compositeId: string, compositeTitle?: string): void { let compositeDescriptor = this.registry.getComposite(compositeId); - if (!compositeDescriptor) { + if (!compositeDescriptor || !this.titleLabel) { return; }