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

SceneTreeEditor: Fix node_selected signal emission.

Fixes #10131
This commit is contained in:
Andreas Haas
2017-08-20 00:13:10 +02:00
parent 56d9f9df67
commit a80371ce0a

View File

@@ -573,7 +573,9 @@ void SceneTreeEditor::set_selected(Node *p_node, bool p_emit_selected) {
selected = NULL;
_update_tree();
selected = p_node;
if (p_emit_selected)
}
if (p_emit_selected) {
emit_signal("node_selected");
}
}