提交 a989921a 编写于 作者: B Benjamin Pasero

MRU list for workspaces does not show the recently opened workspace (fixes #30863)

上级 abbda286
...@@ -68,6 +68,8 @@ export class HistoryMainService implements IHistoryMainService { ...@@ -68,6 +68,8 @@ export class HistoryMainService implements IHistoryMainService {
if (changed) { if (changed) {
this.saveRecentlyOpened(mru); this.saveRecentlyOpened(mru);
this._onRecentlyOpenedChange.fire(); this._onRecentlyOpenedChange.fire();
} else {
this.addRecentlyOpened([e.workspace], []); // add it if this is a new workspace
} }
} }
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册