diff options
| author | Juan Linietsky | 2014-10-14 19:44:41 -0300 |
|---|---|---|
| committer | Juan Linietsky | 2014-10-14 19:44:41 -0300 |
| commit | cd218b8c09482f9f9f2d15285d55ad955673697f (patch) | |
| tree | 60a09595de85ac63027b916dc2344b6612975bf1 /scene/gui/tree.cpp | |
| parent | 94e35ef316caa0f713eef1c3823c8fa035508090 (diff) | |
| download | godot-cd218b8c09482f9f9f2d15285d55ad955673697f.tar.gz godot-cd218b8c09482f9f9f2d15285d55ad955673697f.tar.zst godot-cd218b8c09482f9f9f2d15285d55ad955673697f.zip | |
Diffstat (limited to 'scene/gui/tree.cpp')
| -rw-r--r-- | scene/gui/tree.cpp | 3 |
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; |
