Skip to content

Commit 2206e09

Browse files
authored
1 parent c364ff2 commit 2206e09

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/vs/workbench/contrib/inlineChat/browser/inlineChatActions.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ export class StartSessionAction extends EditorAction2 {
4343
title: { value: LOCALIZED_START_INLINE_CHAT_STRING, original: 'Start Inline Chat' },
4444
category: AbstractInlineChatAction.category,
4545
f1: true,
46-
precondition: CTX_INLINE_CHAT_HAS_PROVIDER,
46+
precondition: ContextKeyExpr.and(CTX_INLINE_CHAT_HAS_PROVIDER, EditorContextKeys.writable),
4747
keybinding: {
4848
when: EditorContextKeys.focus,
4949
weight: KeybindingWeight.WorkbenchContrib,

0 commit comments

Comments
 (0)