Skip to content

Commit e396583

Browse files
committed
history - fix issue with actions being no-op if window opened
1 parent 6644d4f commit e396583

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/vs/workbench/browser/actions/windowActions.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -170,7 +170,7 @@ abstract class BaseOpenRecentAction extends Action2 {
170170
onDidTriggerItemButton: async context => {
171171

172172
// Remove
173-
if (context.button === this.removeFromRecentlyOpened) {
173+
if (context.button === this.removeFromRecentlyOpened || context.button === this.windowOpenedRecentlyOpenedFolder || context.button === this.windowOpenedRecentlyOpenedWorkspace) {
174174
await workspacesService.removeRecentlyOpened([context.item.resource]);
175175
context.removeItem();
176176
}

0 commit comments

Comments
 (0)