aboutsummaryrefslogtreecommitdiff
path: root/editor/plugins/script_editor_plugin.cpp
diff options
context:
space:
mode:
authorRémi Verschelde2017-08-30 12:46:01 +0200
committerGitHub2017-08-30 12:46:00 +0200
commitfd7ad7d80a9cfd6dd02b47d9c4a99d43cb044b27 (patch)
tree4c3875375e5f79db5b76f4bd5637dfed4931538e /editor/plugins/script_editor_plugin.cpp
parent3e98835061f4cb76cee193b073ca81b75f13a4e9 (diff)
parenta400a65c8a3f96b5e5b4b1367a07a95b29dafc76 (diff)
downloadgodot-fd7ad7d80a9cfd6dd02b47d9c4a99d43cb044b27.tar.gz
godot-fd7ad7d80a9cfd6dd02b47d9c4a99d43cb044b27.tar.zst
godot-fd7ad7d80a9cfd6dd02b47d9c4a99d43cb044b27.zip
Diffstat (limited to 'editor/plugins/script_editor_plugin.cpp')
-rw-r--r--editor/plugins/script_editor_plugin.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/editor/plugins/script_editor_plugin.cpp b/editor/plugins/script_editor_plugin.cpp
index fc11f561c..cb86540cd 100644
--- a/editor/plugins/script_editor_plugin.cpp
+++ b/editor/plugins/script_editor_plugin.cpp
@@ -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");