Skip to content

Commit 889feaf

Browse files
authored
SCM - Use view's contextKeyService for the context menu (#230241)
SCM - Use the view's contextKeyService when rendering the context menu (#230235)
1 parent 2d1ff11 commit 889feaf

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/vs/workbench/contrib/scm/browser/scmHistoryViewPane.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1530,6 +1530,7 @@ export class SCMHistoryViewPane extends ViewPane {
15301530
}
15311531

15321532
this.contextMenuService.showContextMenu({
1533+
contextKeyService: this.scopedContextKeyService,
15331534
menuId: MenuId.SCMChangesContext,
15341535
menuActionOptions: {
15351536
arg: element.repository.provider,

0 commit comments

Comments
 (0)