From 3cd245c7b189eb7b7f4b5110bff59a5b72f3c1b6 Mon Sep 17 00:00:00 2001 From: passivestar <60579014+passivestar@users.noreply.github.com> Date: Sun, 9 Jun 2024 11:51:41 +0400 Subject: [PATCH] Add missing inspector dock update after node deletion --- editor/scene_tree_dock.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/editor/scene_tree_dock.cpp b/editor/scene_tree_dock.cpp index c71cb9d4ac9..d92d1c76b1d 100644 --- a/editor/scene_tree_dock.cpp +++ b/editor/scene_tree_dock.cpp @@ -2674,6 +2674,7 @@ void SceneTreeDock::_delete_confirm(bool p_cut) { EditorSelectionHistory *editor_history = EditorNode::get_singleton()->get_editor_selection_history(); editor_history->cleanup_history(); InspectorDock::get_singleton()->call("_prepare_history"); + InspectorDock::get_singleton()->update(nullptr); } void SceneTreeDock::_update_script_button() {