Skip to content

Commit

Permalink
Fix updating tree view title before pane exists
Browse files Browse the repository at this point in the history
Fixes #96219
  • Loading branch information
alexr00 committed May 15, 2020
1 parent 7309285 commit 4477073
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/vs/workbench/browser/parts/views/treeView.ts
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,9 @@ export class TreeViewPane extends ViewPane {
this._register(toDisposable(() => this.treeView.setVisibility(false)));
this._register(this.onDidChangeBodyVisibility(() => this.updateTreeVisibility()));
this._register(this.treeView.onDidChangeWelcomeState(() => this._onDidChangeViewWelcomeState.fire()));
if (options.title !== this.treeView.title) {
this.updateTitle(this.treeView.title);
}
this.updateTreeVisibility();
}

Expand Down

0 comments on commit 4477073

Please sign in to comment.