Skip to content

Commit

Permalink
null check
Browse files Browse the repository at this point in the history
fixes #34746
  • Loading branch information
isidorn committed Sep 21, 2017
1 parent 4900f15 commit 28c7b2e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/vs/workbench/browser/parts/compositePart.ts
Original file line number Diff line number Diff line change
Expand Up @@ -351,7 +351,7 @@ export abstract class CompositePart<T extends Composite> extends Part {

private updateTitle(compositeId: string, compositeTitle?: string): void {
let compositeDescriptor = this.registry.getComposite(compositeId);
if (!compositeDescriptor) {
if (!compositeDescriptor || !this.titleLabel) {
return;
}

Expand Down

0 comments on commit 28c7b2e

Please sign in to comment.