summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRĂ©mi Verschelde <remi@verschelde.fr>2022-08-02 08:22:43 +0200
committerGitHub <noreply@github.com>2022-08-02 08:22:43 +0200
commitb2daf9afc8c3365d8973d8a63ed653311daa824b (patch)
tree0531908b906805e3a676fb16104fd78e1c80bac0
parent536b5b69aba7b0e1495a595d4ce887a84fb8e475 (diff)
parent44ce8381928dd11b98688c6fe68f42d1c0da2b54 (diff)
Merge pull request #63806 from DarkMessiah/guidelines-appearance-bug
-rw-r--r--editor/code_editor.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/editor/code_editor.cpp b/editor/code_editor.cpp
index 99ca82b311..b0eb384efc 100644
--- a/editor/code_editor.cpp
+++ b/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>());
}
}