summaryrefslogtreecommitdiff
path: root/scene
diff options
context:
space:
mode:
authorRĂ©mi Verschelde <rverschelde@gmail.com>2017-08-11 10:43:30 +0200
committerGitHub <noreply@github.com>2017-08-11 10:43:30 +0200
commitff2cb35b90f5661d1bb5fb00fa657a9539449be0 (patch)
treece8e31a714fd0d14e03bddbb838afa7b15805532 /scene
parentc231bda5207249fb7ccbc6e7b8b92595718ca985 (diff)
parent9b413333409dd354fa72084795bdafdf1c228ef2 (diff)
Merge pull request #10247 from djrm/pr_bus_fixes
Fixes to buses editor
Diffstat (limited to 'scene')
-rw-r--r--scene/gui/tree.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/scene/gui/tree.cpp b/scene/gui/tree.cpp
index 8e732b3826..fa499ff277 100644
--- a/scene/gui/tree.cpp
+++ b/scene/gui/tree.cpp
@@ -1478,7 +1478,7 @@ void Tree::select_single_item(TreeItem *p_selected, TreeItem *p_current, int p_c
if (!r_in_range && &selected_cell == &c) {
- if (!selected_cell.selected) {
+ if (!selected_cell.selected || force_select_on_already_selected) {
selected_cell.selected = true;