Browse Source

Add missing inspector dock update after node deletion

passivestar 1 year ago
parent
commit
3cd245c7b1
1 changed files with 1 additions and 0 deletions
  1. 1 0
      editor/scene_tree_dock.cpp

+ 1 - 0
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() {