Browse Source

Disable active editors when node gets deselected

Tomasz Chabora 4 years ago
parent
commit
958d23968d
1 changed files with 1 additions and 0 deletions
  1. 1 0
      editor/editor_node.cpp

+ 1 - 0
editor/editor_node.cpp

@@ -1807,6 +1807,7 @@ void EditorNode::push_item(Object *p_object, const String &p_property, bool p_in
 		node_dock->set_node(nullptr);
 		scene_tree_dock->set_selected(nullptr);
 		inspector_dock->update(nullptr);
+		_display_top_editors(false);
 		return;
 	}