Skip to content

Commit f216365

Browse files
authored
1 parent 9db572a commit f216365

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/vs/editor/contrib/inlineCompletions/browser/controller/inlineCompletionsController.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -146,7 +146,7 @@ export class InlineCompletionsController extends Disposable {
146146
}
147147
const m = this.model.get();
148148
if (!m) { return; }
149-
if (m.inlineCompletionState.get()?.primaryGhostText) {
149+
if (m.state.get()?.kind === 'ghostText') {
150150
this.model.get()?.stop();
151151
} else if (m.state.get()?.inlineCompletion) {
152152
this.model.get()?.collapseInlineEdit();

0 commit comments

Comments
 (0)