aboutsummaryrefslogtreecommitdiff
path: root/scene/gui/tree.cpp
diff options
context:
space:
mode:
authorJuan Linietsky2014-10-14 19:44:41 -0300
committerJuan Linietsky2014-10-14 19:44:41 -0300
commitcd218b8c09482f9f9f2d15285d55ad955673697f (patch)
tree60a09595de85ac63027b916dc2344b6612975bf1 /scene/gui/tree.cpp
parent94e35ef316caa0f713eef1c3823c8fa035508090 (diff)
downloadgodot-cd218b8c09482f9f9f2d15285d55ad955673697f.tar.gz
godot-cd218b8c09482f9f9f2d15285d55ad955673697f.tar.zst
godot-cd218b8c09482f9f9f2d15285d55ad955673697f.zip
Diffstat (limited to 'scene/gui/tree.cpp')
-rw-r--r--scene/gui/tree.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/scene/gui/tree.cpp b/scene/gui/tree.cpp
index 9084983a4..a39c61eca 100644
--- a/scene/gui/tree.cpp
+++ b/scene/gui/tree.cpp
@@ -1438,8 +1438,7 @@ int Tree::propagate_mouse_event(const Point2i &p_pos,int x_ofs,int y_ofs,bool p_
if (p_button==BUTTON_LEFT) {
/* process selection */
- if (p_doubleclick && (!c.editable || c.mode==TreeItem::CELL_MODE_CUSTOM || c.mode==TreeItem::CELL_MODE_ICON)) {
-
+ if (p_doubleclick && (!c.editable || c.mode==TreeItem::CELL_MODE_CUSTOM || c.mode==TreeItem::CELL_MODE_ICON || c.mode==TreeItem::CELL_MODE_CHECK)) {
emit_signal("item_activated");
return -1;