1
0
mirror of https://github.com/godotengine/godot.git synced 2026-01-05 19:31:35 +00:00

Merge pull request #22584 from DualMatrix/editor_path_no_update

Fixed name of deleted node not dissapearing from inspector dock.
This commit is contained in:
Rémi Verschelde
2018-10-01 23:43:58 +02:00
committed by GitHub
2 changed files with 3 additions and 1 deletions

View File

@@ -259,6 +259,8 @@ void InspectorDock::_prepare_history() {
}
history_menu->get_popup()->add_icon_item(icon, text, i);
}
editor_path->update_path();
}
void InspectorDock::_select_history(int p_idx) const {

View File

@@ -1574,7 +1574,7 @@ void SceneTreeDock::_delete_confirm() {
// Fixes the EditorHistory from still offering deleted notes
EditorHistory *editor_history = EditorNode::get_singleton()->get_editor_history();
editor_history->cleanup_history();
EditorNode::get_singleton()->call("_prepare_history");
EditorNode::get_singleton()->get_inspector_dock()->call("_prepare_history");
}
void SceneTreeDock::_update_script_button() {