From 889feaf2ef663d9d3b079c4a3627e4ce27027323 Mon Sep 17 00:00:00 2001 From: Ladislau Szomoru <3372902+lszomoru@users.noreply.github.com> Date: Tue, 1 Oct 2024 22:05:17 +0200 Subject: [PATCH] SCM - Use view's contextKeyService for the context menu (#230241) SCM - Use the view's contextKeyService when rendering the context menu (#230235) --- src/vs/workbench/contrib/scm/browser/scmHistoryViewPane.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/src/vs/workbench/contrib/scm/browser/scmHistoryViewPane.ts b/src/vs/workbench/contrib/scm/browser/scmHistoryViewPane.ts index 4de2e1841eb22..94e2577d2f87a 100644 --- a/src/vs/workbench/contrib/scm/browser/scmHistoryViewPane.ts +++ b/src/vs/workbench/contrib/scm/browser/scmHistoryViewPane.ts @@ -1530,6 +1530,7 @@ export class SCMHistoryViewPane extends ViewPane { } this.contextMenuService.showContextMenu({ + contextKeyService: this.scopedContextKeyService, menuId: MenuId.SCMChangesContext, menuActionOptions: { arg: element.repository.provider,