提交 12c519e4 编写于 作者: J Johannes Rieken

Revert "workaround npe"

This reverts commit 544fafec.
上级 b3abd4f6
......@@ -142,9 +142,7 @@ export class TextFileEditor extends BaseTextEditor {
textEditor.setModel(textFileModel.textEditorModel);
// stop the event
if (setModelEvent) {
setModelEvent.stop();
}
setModelEvent.stop();
// TextOptions (avoiding instanceof here for a reason, do not change!)
let optionsGotApplied = false;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册