This commit is contained in:
Johannes Rieken
2021-05-07 14:16:00 +02:00
parent b177753668
commit f9b5f8f624
4 changed files with 7 additions and 7 deletions

View File

@@ -189,9 +189,9 @@ export class MainThreadNotebookKernels implements MainThreadNotebookKernelsShape
const listener = this._notebookKernelService.onDidChangeNotebookKernelBinding(e => {
if (e.oldKernel === kernel.id) {
this._proxy.$acceptSelection(handle, e.notebook, false);
this._proxy.$acceptNotebookAssociation(handle, e.notebook, false);
} else if (e.newKernel === kernel.id) {
this._proxy.$acceptSelection(handle, e.notebook, true);
this._proxy.$acceptNotebookAssociation(handle, e.notebook, true);
}
});