mirror of
https://github.com/godotengine/godot.git
synced 2025-10-22 17:33:33 +00:00
Fix reload scripts error after saving in external editor.
This commit is contained in:
parent
889868cbbc
commit
b68b26b27e
1 changed files with 1 additions and 1 deletions
|
@ -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");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue