diff options
author | Rémi Verschelde <rverschelde@gmail.com> | 2024-07-08 11:48:30 +0200 |
---|---|---|
committer | Rémi Verschelde <rverschelde@gmail.com> | 2024-07-08 11:48:30 +0200 |
commit | f4bf25cb357e96c6730cf85522f96948f4528b45 (patch) | |
tree | 94faa4cfa62d889fb1625332ac910c23d76dc82b /editor | |
parent | 50db553ed590d7381ea6d5fbed864264ddf2aa49 (diff) | |
parent | ad8f065f4aeb95f85895903927ecf08947f18dab (diff) | |
download | redot-engine-f4bf25cb357e96c6730cf85522f96948f4528b45.tar.gz |
Merge pull request #94057 from kitbdev/fix-request-save-signal-type
Fix ScriptEditor `request_save_previous_state` signal type
Diffstat (limited to 'editor')
-rw-r--r-- | editor/plugins/script_editor_plugin.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/editor/plugins/script_editor_plugin.cpp b/editor/plugins/script_editor_plugin.cpp index a670c7937b..c51eb44aee 100644 --- a/editor/plugins/script_editor_plugin.cpp +++ b/editor/plugins/script_editor_plugin.cpp @@ -272,7 +272,7 @@ void ScriptEditorBase::_bind_methods() { ADD_SIGNAL(MethodInfo("request_help", PropertyInfo(Variant::STRING, "topic"))); ADD_SIGNAL(MethodInfo("request_open_script_at_line", PropertyInfo(Variant::OBJECT, "script"), PropertyInfo(Variant::INT, "line"))); ADD_SIGNAL(MethodInfo("request_save_history")); - ADD_SIGNAL(MethodInfo("request_save_previous_state", PropertyInfo(Variant::INT, "line"))); + ADD_SIGNAL(MethodInfo("request_save_previous_state", PropertyInfo(Variant::DICTIONARY, "state"))); ADD_SIGNAL(MethodInfo("go_to_help", PropertyInfo(Variant::STRING, "what"))); ADD_SIGNAL(MethodInfo("search_in_files_requested", PropertyInfo(Variant::STRING, "text"))); ADD_SIGNAL(MethodInfo("replace_in_files_requested", PropertyInfo(Variant::STRING, "text"))); |