diff options
author | Ger Hean <gerhean@live.com> | 2022-01-05 12:03:52 +0800 |
---|---|---|
committer | Ger Hean <gerhean@live.com> | 2022-02-05 19:06:54 +0800 |
commit | 8acc8838c4b95e645a61b417e8a89fd14990a555 (patch) | |
tree | 06eeb93d1f4b00608b7e59f76ea3d9c869610949 /scene | |
parent | df1724470d1cff4f67aeb4c0d039114373aeb001 (diff) |
Add shortcut_cell double click functionality
Diffstat (limited to 'scene')
-rw-r--r-- | scene/gui/tree.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scene/gui/tree.cpp b/scene/gui/tree.cpp index 1b32884880..a190e08088 100644 --- a/scene/gui/tree.cpp +++ b/scene/gui/tree.cpp @@ -2490,7 +2490,7 @@ int Tree::propagate_mouse_event(const Point2i &p_pos, int x_ofs, int y_ofs, int /* process selection */ if (p_double_click && (!c.editable || c.mode == TreeItem::CELL_MODE_CUSTOM || c.mode == TreeItem::CELL_MODE_ICON /*|| c.mode==TreeItem::CELL_MODE_CHECK*/)) { //it's confusing for check - + // Emits the "item_activated" signal. propagate_mouse_activated = true; incr_search.clear(); |