summaryrefslogtreecommitdiff
path: root/editor/editor_node.cpp
diff options
context:
space:
mode:
authorRĂ©mi Verschelde <remi@verschelde.fr>2021-01-29 12:29:15 +0100
committerGitHub <noreply@github.com>2021-01-29 12:29:15 +0100
commit1da4215841713d71b5b5821b7927e63260bdf157 (patch)
tree033c58071d42933574e2c77b6c4b24bef7b02ae2 /editor/editor_node.cpp
parente856c5593b1c16a6094aace583a3b024209a51db (diff)
parent958d23968d3ea600af867e6b0d6957723286e547 (diff)
Merge pull request #43223 from KoBeWi/dedit
Disable active editors when node gets deselected
Diffstat (limited to 'editor/editor_node.cpp')
-rw-r--r--editor/editor_node.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/editor/editor_node.cpp b/editor/editor_node.cpp
index 2cef6a6ede..e24cda1932 100644
--- a/editor/editor_node.cpp
+++ b/editor/editor_node.cpp
@@ -1858,6 +1858,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;
}