summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormeap <meap@cin.ufpe.br>2022-10-07 13:38:29 -0300
committermeap <meap@cin.ufpe.br>2022-10-07 13:38:29 -0300
commit09b9d864a7bda883a24e95fbb3e532f6a03852c7 (patch)
tree325d05b0abf64c5ef7041a02734192f4d8938a9c
parent1baefceababe8a0d63434a231c3799555a45d8e3 (diff)
Fix signature for 'folder_moved' signal of FileSystemDock
-rw-r--r--doc/classes/FileSystemDock.xml2
-rw-r--r--editor/filesystem_dock.cpp2
2 files changed, 2 insertions, 2 deletions
diff --git a/doc/classes/FileSystemDock.xml b/doc/classes/FileSystemDock.xml
index 22048c6761..5578f449b3 100644
--- a/doc/classes/FileSystemDock.xml
+++ b/doc/classes/FileSystemDock.xml
@@ -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>
diff --git a/editor/filesystem_dock.cpp b/editor/filesystem_dock.cpp
index 673ad1cb21..d37f2aab43 100644
--- a/editor/filesystem_dock.cpp
+++ b/editor/filesystem_dock.cpp
@@ -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"));
}