You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-04 12:00:25 +00:00
Update Inspector when rename a file via File System Dock
Fixes #56803 Connecting `FileSystemDock` `files_moved` signal to `InspectorDock` and then checking if we need to update or not the object stored on `EditorSelectionHistory`.
This commit is contained in:
committed by
Pablo Andres Fuente
parent
594d64ec24
commit
b4db9dc688
@@ -7808,11 +7808,12 @@ EditorNode::EditorNode() {
|
||||
// Instantiate and place editor docks.
|
||||
|
||||
memnew(SceneTreeDock(scene_root, editor_selection, editor_data));
|
||||
memnew(FileSystemDock);
|
||||
memnew(InspectorDock(editor_data));
|
||||
memnew(ImportDock);
|
||||
memnew(NodeDock);
|
||||
|
||||
FileSystemDock *filesystem_dock = memnew(FileSystemDock);
|
||||
FileSystemDock *filesystem_dock = FileSystemDock::get_singleton();
|
||||
filesystem_dock->connect("inherit", callable_mp(this, &EditorNode::_inherit_request));
|
||||
filesystem_dock->connect("instantiate", callable_mp(this, &EditorNode::_instantiate_request));
|
||||
filesystem_dock->connect("display_mode_changed", callable_mp(this, &EditorNode::_save_editor_layout));
|
||||
|
||||
Reference in New Issue
Block a user