diff options
author | Rindbee <idleman@yeah.net> | 2022-12-04 10:59:31 +0800 |
---|---|---|
committer | Rindbee <idleman@yeah.net> | 2023-01-22 18:27:22 +0800 |
commit | 64edc7a5c2397e5330a587d40b4d0275bf9a9c9e (patch) | |
tree | 80c704bac4c6a3b7397f1bcba7f06fc2c63ead4c /modules/gdscript | |
parent | c3539b4561f9b4d7dc4ba1c5859217e7fbf9c6fe (diff) |
Fix internal editor not updating when using external editor via LSP
Diffstat (limited to 'modules/gdscript')
-rw-r--r-- | modules/gdscript/language_server/gdscript_text_document.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/modules/gdscript/language_server/gdscript_text_document.cpp b/modules/gdscript/language_server/gdscript_text_document.cpp index b9e6921034..35fbdca949 100644 --- a/modules/gdscript/language_server/gdscript_text_document.cpp +++ b/modules/gdscript/language_server/gdscript_text_document.cpp @@ -108,6 +108,7 @@ void GDScriptTextDocument::didSave(const Variant &p_param) { scr->reload(true); } scr->update_exports(); + ScriptEditor::get_singleton()->reload_scripts(true); ScriptEditor::get_singleton()->update_docs_from_script(scr); } } |