Browse Source

Disable active editors when node gets deselected

(cherry picked from commit 958d23968d3ea600af867e6b0d6957723286e547)
Tomasz Chabora 5 years ago
parent
commit
04ce4e6abb
1 changed files with 1 additions and 0 deletions
  1. 1 0
      editor/editor_node.cpp

+ 1 - 0
editor/editor_node.cpp

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