mirror of
https://github.com/godotengine/godot.git
synced 2025-12-08 06:09:55 +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:
parent
594d64ec24
commit
b4db9dc688
3 changed files with 20 additions and 1 deletions
|
|
@ -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));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue