diff --git a/src/vs/workbench/contrib/welcomeGettingStarted/browser/gettingStarted.ts b/src/vs/workbench/contrib/welcomeGettingStarted/browser/gettingStarted.ts index 4801a2a06b5..83eb72be591 100644 --- a/src/vs/workbench/contrib/welcomeGettingStarted/browser/gettingStarted.ts +++ b/src/vs/workbench/contrib/welcomeGettingStarted/browser/gettingStarted.ts @@ -1533,7 +1533,7 @@ export class GettingStartedPage extends EditorPane { buildStepList(); this.detailsPageDisposables.add(this.contextService.onDidChangeContext(e => { - if (e.affectsSome(contextKeysToWatch) && this.currentWalkthrough) { + if (e.affectsSome(contextKeysToWatch) && this.currentWalkthrough && this.editorInput) { buildStepList(); this.registerDispatchListeners(); this.selectStep(this.editorInput.selectedStep, false);