1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-08 12:40:44 +00:00

Fix reselecting scene tree node after inspecting a resource

This broke when the `node_selected` connection was removed in #91435.
Here it's returned, but the emit is removed from `_node_removed`. That
preserves the earlier fix while allowing nodes to be reselected.
This commit is contained in:
Anni Ryynänen
2024-06-24 13:17:45 +03:00
parent 04bf7d4cad
commit eed6f4fef4
2 changed files with 1 additions and 1 deletions

View File

@@ -589,7 +589,6 @@ void SceneTreeEditor::_node_removed(Node *p_node) {
if (p_node == selected) {
selected = nullptr;
emit_signal(SNAME("node_selected"));
}
}