mirror of
https://github.com/Microsoft/vscode
synced 2024-10-12 22:37:41 +00:00
When selecting a notebook kernel, prompt was saying "Select kernel from undefined". "Undefined" here was supported to be the extension name. When the quick pick items are generated, they are generated with a value of "label". Nothing else references or populates a property of "source", so seems safe to change the code to reference "label" instead.
This commit is contained in:
parent
0d9e0996dd
commit
a9ba0672ae
|
@ -600,7 +600,7 @@ export class KernelPickerMRUStrategy extends KernelPickerStrategyBase {
|
|||
await this._selecteKernel(notebook, selectedKernelPickItem.kernel);
|
||||
return true;
|
||||
} else if (isGroupedKernelsPick(selectedKernelPickItem)) {
|
||||
await this._selectOneKernel(notebook, selectedKernelPickItem.source, selectedKernelPickItem.kernels);
|
||||
await this._selectOneKernel(notebook, selectedKernelPickItem.label, selectedKernelPickItem.kernels);
|
||||
return true;
|
||||
} else if (isSourcePick(selectedKernelPickItem)) {
|
||||
// selected explicilty, it should trigger the execution?
|
||||
|
|
Loading…
Reference in a new issue