mirror of
https://github.com/godotengine/godot.git
synced 2025-10-26 11:14:17 +00:00
Merge pull request #10750 from Rubonnek/fix-duplicate-script-changed-signal
Renamed 'script_changed' signal in the script editor plugin to 'edited_script_changed'
This commit is contained in:
commit
fd7ad7d80a
4 changed files with 15 additions and 17 deletions
|
|
@ -47,7 +47,7 @@
|
|||
void ScriptEditorBase::_bind_methods() {
|
||||
|
||||
ADD_SIGNAL(MethodInfo("name_changed"));
|
||||
ADD_SIGNAL(MethodInfo("script_changed"));
|
||||
ADD_SIGNAL(MethodInfo("edited_script_changed"));
|
||||
ADD_SIGNAL(MethodInfo("request_help_search", PropertyInfo(Variant::STRING, "topic")));
|
||||
ADD_SIGNAL(MethodInfo("request_help_index"));
|
||||
ADD_SIGNAL(MethodInfo("request_open_script_at_line", PropertyInfo(Variant::OBJECT, "script"), PropertyInfo(Variant::INT, "line")));
|
||||
|
|
@ -1622,7 +1622,7 @@ bool ScriptEditor::edit(const Ref<Script> &p_script, int p_line, int p_col, bool
|
|||
_update_script_names();
|
||||
_save_layout();
|
||||
se->connect("name_changed", this, "_update_script_names");
|
||||
se->connect("script_changed", this, "_script_changed");
|
||||
se->connect("edited_script_changed", this, "_script_changed");
|
||||
se->connect("request_help_search", this, "_help_search");
|
||||
se->connect("request_open_script_at_line", this, "_goto_script_line");
|
||||
se->connect("go_to_help", this, "_help_class_goto");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue