diff options
author | Rémi Verschelde <rverschelde@gmail.com> | 2022-09-26 08:20:04 +0200 |
---|---|---|
committer | Rémi Verschelde <rverschelde@gmail.com> | 2022-09-26 08:20:04 +0200 |
commit | e406badafdce90073f97679a63c2ec38a781e7ac (patch) | |
tree | 80063992229b818f2ec5a010e4282516de9a6051 /editor/plugins/script_editor_plugin.h | |
parent | ef266183598401d89482c5d2035d7e4cd3f64cb9 (diff) | |
parent | 412e87349a6f1c4f8989459d7a8c7f3a028833a4 (diff) |
Merge pull request #66405 from Rindbee/fix-gd-not-sync-via-lsp
Fix out of sync when the script is edited externally via lsp
Diffstat (limited to 'editor/plugins/script_editor_plugin.h')
-rw-r--r-- | editor/plugins/script_editor_plugin.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/editor/plugins/script_editor_plugin.h b/editor/plugins/script_editor_plugin.h index 59191b8891..1e78dc4ec4 100644 --- a/editor/plugins/script_editor_plugin.h +++ b/editor/plugins/script_editor_plugin.h @@ -477,7 +477,7 @@ public: bool toggle_scripts_panel(); bool is_scripts_panel_toggled(); void apply_scripts() const; - void reload_scripts(); + void reload_scripts(bool p_refresh_only = false); void open_script_create_dialog(const String &p_base_name, const String &p_base_path); void open_text_file_create_dialog(const String &p_base_path, const String &p_base_name = ""); Ref<Resource> open_file(const String &p_file); |