Merge pull request #9968 from kubecz3k/edit-plugin-hint

ScriptEditor -> 'script_close' signal hint correction
This commit is contained in:
George Marques 2017-07-29 13:59:07 -03:00 committed by GitHub
commit 597e5ebedf

View file

@ -2229,7 +2229,7 @@ void ScriptEditor::_bind_methods() {
ClassDB::bind_method(D_METHOD("get_open_scripts"), &ScriptEditor::_get_open_scripts); 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("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) { ScriptEditor::ScriptEditor(EditorNode *p_editor) {