summaryrefslogtreecommitdiff
path: root/tools/editor/scene_tree_dock.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tools/editor/scene_tree_dock.cpp')
-rw-r--r--tools/editor/scene_tree_dock.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/editor/scene_tree_dock.cpp b/tools/editor/scene_tree_dock.cpp
index c81374259e..c4c3a10f74 100644
--- a/tools/editor/scene_tree_dock.cpp
+++ b/tools/editor/scene_tree_dock.cpp
@@ -1038,9 +1038,9 @@ void SceneTreeDock::set_edited_scene(Node* p_scene) {
edited_scene=p_scene;
}
-void SceneTreeDock::set_selected(Node *p_node) {
+void SceneTreeDock::set_selected(Node *p_node, bool p_emit_selected ) {
- scene_tree->set_selected(p_node,false);
+ scene_tree->set_selected(p_node,p_emit_selected);
_update_tool_buttons();
}