提交 1d03c052 编写于 作者: R rebornix

Fix #98836.

上级 361047c7
......@@ -393,7 +393,7 @@ export class NotebookTextModel extends Disposable implements INotebookTextModel
changeCellLanguage(handle: number, languageId: string) {
let cell = this._mapping.get(handle);
if (cell) {
if (cell && cell.language !== languageId) {
cell.language = languageId;
this._increaseVersionId();
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册