mirror of
https://github.com/godotengine/godot.git
synced 2024-11-10 14:12:51 +00:00
Merge pull request #94057 from kitbdev/fix-request-save-signal-type
Fix ScriptEditor `request_save_previous_state` signal type
This commit is contained in:
commit
f4bf25cb35
@ -72,7 +72,7 @@
|
||||
</description>
|
||||
</signal>
|
||||
<signal name="request_save_previous_state">
|
||||
<param index="0" name="line" type="int" />
|
||||
<param index="0" name="state" type="Dictionary" />
|
||||
<description>
|
||||
Emitted when the user changes current script or moves caret by 10 or more columns within the same script.
|
||||
</description>
|
||||
|
@ -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")));
|
||||
|
Loading…
Reference in New Issue
Block a user