diff options
author | Zae <zaevi@live.com> | 2022-11-03 17:06:51 +0800 |
---|---|---|
committer | Zae <zaevi@live.com> | 2022-11-03 17:06:51 +0800 |
commit | b68b26b27e2226a75fd62afd8979560566325ce6 (patch) | |
tree | 7dac1ff737d6292f8de44453ee472bf9ec5162a4 /editor/plugins/script_editor_plugin.cpp | |
parent | 889868cbbc8beac74d5f49f9b7ef41efc4ae7d5a (diff) |
Fix reload scripts error after saving in external editor.
Diffstat (limited to 'editor/plugins/script_editor_plugin.cpp')
-rw-r--r-- | editor/plugins/script_editor_plugin.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/editor/plugins/script_editor_plugin.cpp b/editor/plugins/script_editor_plugin.cpp index e4f0192c64..4ff3919e9b 100644 --- a/editor/plugins/script_editor_plugin.cpp +++ b/editor/plugins/script_editor_plugin.cpp @@ -3892,7 +3892,7 @@ ScriptEditor::ScriptEditor() { vbc->add_child(disk_changed_list); disk_changed_list->set_v_size_flags(SIZE_EXPAND_FILL); - disk_changed->connect("confirmed", callable_mp(this, &ScriptEditor::reload_scripts)); + disk_changed->connect("confirmed", callable_mp(this, &ScriptEditor::reload_scripts).bind(false)); disk_changed->set_ok_button_text(TTR("Reload")); disk_changed->add_button(TTR("Resave"), !DisplayServer::get_singleton()->get_swap_cancel_ok(), "resave"); |