diff options
author | Rémi Verschelde <rverschelde@gmail.com> | 2022-11-03 11:51:26 +0100 |
---|---|---|
committer | Rémi Verschelde <rverschelde@gmail.com> | 2022-11-03 11:51:26 +0100 |
commit | 1545f7aff2d1e91f2cf1efd99f384172d2043cb6 (patch) | |
tree | 7dac1ff737d6292f8de44453ee472bf9ec5162a4 | |
parent | 889868cbbc8beac74d5f49f9b7ef41efc4ae7d5a (diff) | |
parent | b68b26b27e2226a75fd62afd8979560566325ce6 (diff) |
Merge pull request #68203 from zaevi/fix_reload_scripts_error_after_external
Fix reload scripts error after saving in external editor.
-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"); |