summaryrefslogtreecommitdiff
path: root/editor/plugins/script_editor_plugin.cpp
diff options
context:
space:
mode:
authorJakub Grzesik <kubecz3k@gmail.com>2017-07-29 14:22:06 +0200
committerJakub Grzesik <kubecz3k@gmail.com>2017-07-29 14:22:06 +0200
commitff5ffeafeba742faa9f82f0528c6dd6f4805c68a (patch)
tree2954bd67991a4d0b1ae3566dfab7c596c0ca94be /editor/plugins/script_editor_plugin.cpp
parentb276d92c8a63887df011032bc95d98bbb9c51c70 (diff)
ScriptEditor -> 'script_close' signal hint correction
Diffstat (limited to 'editor/plugins/script_editor_plugin.cpp')
-rw-r--r--editor/plugins/script_editor_plugin.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/editor/plugins/script_editor_plugin.cpp b/editor/plugins/script_editor_plugin.cpp
index fef7f07abb..77c540b746 100644
--- a/editor/plugins/script_editor_plugin.cpp
+++ b/editor/plugins/script_editor_plugin.cpp
@@ -2229,7 +2229,7 @@ void ScriptEditor::_bind_methods() {
ClassDB::bind_method(D_METHOD("get_open_scripts"), &ScriptEditor::_get_open_scripts);
ADD_SIGNAL(MethodInfo("editor_script_changed", PropertyInfo(Variant::OBJECT, "script:Script")));
- ADD_SIGNAL(MethodInfo("script_close", PropertyInfo(Variant::STRING, "script:String")));
+ ADD_SIGNAL(MethodInfo("script_close", PropertyInfo(Variant::OBJECT, "script:Script")));
}
ScriptEditor::ScriptEditor(EditorNode *p_editor) {