From a989921a61dada4c6f08819f482f411d8c81eeea Mon Sep 17 00:00:00 2001 From: Benjamin Pasero Date: Mon, 17 Jul 2017 16:59:39 +0200 Subject: [PATCH] MRU list for workspaces does not show the recently opened workspace (fixes #30863) --- src/vs/platform/history/electron-main/historyMainService.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/vs/platform/history/electron-main/historyMainService.ts b/src/vs/platform/history/electron-main/historyMainService.ts index 14e274850f1..27ca6b585c0 100644 --- a/src/vs/platform/history/electron-main/historyMainService.ts +++ b/src/vs/platform/history/electron-main/historyMainService.ts @@ -68,6 +68,8 @@ export class HistoryMainService implements IHistoryMainService { if (changed) { this.saveRecentlyOpened(mru); this._onRecentlyOpenedChange.fire(); + } else { + this.addRecentlyOpened([e.workspace], []); // add it if this is a new workspace } } -- GitLab