Skip to content

Commit 6e45786

Browse files
authored
Update quickpick on walkthrough additions (microsoft#184965)
1 parent 74d1f59 commit 6e45786

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

src/vs/workbench/contrib/welcomeGettingStarted/browser/gettingStarted.contribution.ts

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -251,10 +251,12 @@ registerAction2(class extends Action2 {
251251
quickPick.hide();
252252
});
253253
quickPick.onDidHide(() => quickPick.dispose());
254-
quickPick.show();
255254
await extensionService.whenInstalledExtensionsRegistered();
255+
gettingStartedService.onDidAddWalkthrough(async () => {
256+
quickPick.items = await this.getQuickPickItems(contextService, gettingStartedService);
257+
});
258+
quickPick.show();
256259
quickPick.busy = false;
257-
quickPick.items = await this.getQuickPickItems(contextService, gettingStartedService);
258260
}
259261
});
260262

0 commit comments

Comments
 (0)