summaryrefslogtreecommitdiffstats
path: root/editor/plugins/script_text_editor.cpp
diff options
context:
space:
mode:
authorRindbee <idleman@yeah.net>2022-10-03 18:38:24 +0800
committerRindbee <idleman@yeah.net>2022-10-03 19:19:28 +0800
commit72a7d874b4e96e9be53891bbe8aaa1982055d868 (patch)
tree0694744182e1571e985a040d8b0646bc3dd8c262 /editor/plugins/script_text_editor.cpp
parentd331b803b8e63b0dab406a12c21805a17ee0a6a8 (diff)
downloadredot-engine-72a7d874b4e96e9be53891bbe8aaa1982055d868.tar.gz
Fix the flickering of the line gutter icon when saving
Diffstat (limited to 'editor/plugins/script_text_editor.cpp')
-rw-r--r--editor/plugins/script_text_editor.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/editor/plugins/script_text_editor.cpp b/editor/plugins/script_text_editor.cpp
index c21b4356f8..a1d24907e5 100644
--- a/editor/plugins/script_text_editor.cpp
+++ b/editor/plugins/script_text_editor.cpp
@@ -289,6 +289,7 @@ void ScriptTextEditor::reload_text() {
te->tag_saved_version();
code_editor->update_line_and_column();
+ _validate_script();
}
void ScriptTextEditor::add_callback(const String &p_function, PackedStringArray p_args) {