summaryrefslogtreecommitdiff
path: root/scene
diff options
context:
space:
mode:
authorDaniel J. Ramirez <djrmuv@gmail.com>2017-08-10 18:07:24 -0500
committerDaniel J. Ramirez <djrmuv@gmail.com>2017-08-10 18:07:24 -0500
commit9b413333409dd354fa72084795bdafdf1c228ef2 (patch)
treea6083ea327ac3591bb28f240a33d87cbeb8db669 /scene
parent81dde2687f2f80f5f365a02d68913322d35e9be1 (diff)
Fixes to buses editor
Fixed unselectable bus Added bus options button
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 0ce29b7472..dc525712b6 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;