Expose FileSystemDock to the scripting API and fixed signals

Fixed FileSystemDock's `file_removed` and `folder_removed` signals not being
emitted because the emitted was using the wrong signal name.

(cherry picked from commit fe0b783e70)
This commit is contained in:
Ignacio Etcheverry
2020-03-17 01:40:15 +01:00
parent 69081c000d
commit 110523fecc
5 changed files with 19 additions and 10 deletions

View File

@@ -3673,6 +3673,7 @@ void EditorNode::register_editor_types() {
ClassDB::register_class<ScriptCreateDialog>();
ClassDB::register_class<EditorFeatureProfile>();
ClassDB::register_class<EditorSpinSlider>();
ClassDB::register_virtual_class<FileSystemDock>();
// FIXME: Is this stuff obsolete, or should it be ported to new APIs?
ClassDB::register_class<EditorScenePostImport>();