Merge pull request #67035 from mateuseap/mateuseap/master

Fix signature for `folder_moved` signal of `FileSystemDock`
This commit is contained in:
Rémi Verschelde 2022-10-07 22:21:37 +02:00
commit 7ca49be7ed
2 changed files with 2 additions and 2 deletions

View file

@ -32,7 +32,7 @@
</signal>
<signal name="folder_moved">
<param index="0" name="old_folder" type="String" />
<param index="1" name="new_file" type="String" />
<param index="1" name="new_folder" type="String" />
<description>
</description>
</signal>

View file

@ -2994,7 +2994,7 @@ void FileSystemDock::_bind_methods() {
ADD_SIGNAL(MethodInfo("file_removed", PropertyInfo(Variant::STRING, "file")));
ADD_SIGNAL(MethodInfo("folder_removed", PropertyInfo(Variant::STRING, "folder")));
ADD_SIGNAL(MethodInfo("files_moved", PropertyInfo(Variant::STRING, "old_file"), PropertyInfo(Variant::STRING, "new_file")));
ADD_SIGNAL(MethodInfo("folder_moved", PropertyInfo(Variant::STRING, "old_folder"), PropertyInfo(Variant::STRING, "new_file")));
ADD_SIGNAL(MethodInfo("folder_moved", PropertyInfo(Variant::STRING, "old_folder"), PropertyInfo(Variant::STRING, "new_folder")));
ADD_SIGNAL(MethodInfo("display_mode_changed"));
}