Fix missing argument names in FileSystemDock bindings

This commit is contained in:
Rémi Verschelde 2021-10-09 00:31:14 +02:00
parent 302ad4e600
commit 7843c871d0
No known key found for this signature in database
GPG Key ID: C3336907360768E1
2 changed files with 13 additions and 13 deletions

View File

@ -9,30 +9,30 @@
<methods> <methods>
<method name="can_drop_data_fw" qualifiers="const"> <method name="can_drop_data_fw" qualifiers="const">
<return type="bool" /> <return type="bool" />
<argument index="0" name="arg0" type="Vector2" /> <argument index="0" name="point" type="Vector2" />
<argument index="1" name="arg1" type="Variant" /> <argument index="1" name="data" type="Variant" />
<argument index="2" name="arg2" type="Control" /> <argument index="2" name="from" type="Control" />
<description> <description>
</description> </description>
</method> </method>
<method name="drop_data_fw"> <method name="drop_data_fw">
<return type="void" /> <return type="void" />
<argument index="0" name="arg0" type="Vector2" /> <argument index="0" name="point" type="Vector2" />
<argument index="1" name="arg1" type="Variant" /> <argument index="1" name="data" type="Variant" />
<argument index="2" name="arg2" type="Control" /> <argument index="2" name="from" type="Control" />
<description> <description>
</description> </description>
</method> </method>
<method name="get_drag_data_fw"> <method name="get_drag_data_fw">
<return type="Variant" /> <return type="Variant" />
<argument index="0" name="arg0" type="Vector2" /> <argument index="0" name="point" type="Vector2" />
<argument index="1" name="arg1" type="Control" /> <argument index="1" name="from" type="Control" />
<description> <description>
</description> </description>
</method> </method>
<method name="navigate_to_path"> <method name="navigate_to_path">
<return type="void" /> <return type="void" />
<argument index="0" name="arg0" type="String" /> <argument index="0" name="path" type="String" />
<description> <description>
</description> </description>
</method> </method>

View File

@ -2756,10 +2756,10 @@ void FileSystemDock::_bind_methods() {
ClassDB::bind_method(D_METHOD("_search_changed"), &FileSystemDock::_search_changed); ClassDB::bind_method(D_METHOD("_search_changed"), &FileSystemDock::_search_changed);
ClassDB::bind_method(D_METHOD("get_drag_data_fw"), &FileSystemDock::get_drag_data_fw); ClassDB::bind_method(D_METHOD("get_drag_data_fw", "point", "from"), &FileSystemDock::get_drag_data_fw);
ClassDB::bind_method(D_METHOD("can_drop_data_fw"), &FileSystemDock::can_drop_data_fw); ClassDB::bind_method(D_METHOD("can_drop_data_fw", "point", "data", "from"), &FileSystemDock::can_drop_data_fw);
ClassDB::bind_method(D_METHOD("drop_data_fw"), &FileSystemDock::drop_data_fw); ClassDB::bind_method(D_METHOD("drop_data_fw", "point", "data", "from"), &FileSystemDock::drop_data_fw);
ClassDB::bind_method(D_METHOD("navigate_to_path"), &FileSystemDock::navigate_to_path); ClassDB::bind_method(D_METHOD("navigate_to_path", "path"), &FileSystemDock::navigate_to_path);
ClassDB::bind_method(D_METHOD("_preview_invalidated"), &FileSystemDock::_preview_invalidated); ClassDB::bind_method(D_METHOD("_preview_invalidated"), &FileSystemDock::_preview_invalidated);
ClassDB::bind_method(D_METHOD("_file_multi_selected"), &FileSystemDock::_file_multi_selected); ClassDB::bind_method(D_METHOD("_file_multi_selected"), &FileSystemDock::_file_multi_selected);