Browse Source

Fix guidelines appearance

Stanislav Labzyuk 3 years ago
parent
commit
44ce838192
1 changed files with 2 additions and 0 deletions
  1. 2 0
      editor/code_editor.cpp

+ 2 - 0
editor/code_editor.cpp

@@ -1045,6 +1045,8 @@ void CodeTextEditor::update_editor_settings() {
 			guideline_cols.append(EditorSettings::get_singleton()->get("text_editor/appearance/guidelines/line_length_guideline_soft_column"));
 		}
 		text_editor->set_line_length_guidelines(guideline_cols);
+	} else {
+		text_editor->set_line_length_guidelines(TypedArray<int>());
 	}
 }