diff options
author | volzhs <volzhs@gmail.com> | 2016-05-13 01:22:19 +0900 |
---|---|---|
committer | volzhs <volzhs@gmail.com> | 2016-05-13 01:22:19 +0900 |
commit | 81b4d38fa70246446af5ed1b5efcb91b2b38b028 (patch) | |
tree | 418a44e20844fcfb767faab7e48f937b7ff6b484 /scene | |
parent | 91c85ff1f5e83fd7e360ad07abad98684acf6ecf (diff) |
open directory or file when double click
fixes #4607
Diffstat (limited to 'scene')
-rw-r--r-- | scene/gui/item_list.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scene/gui/item_list.cpp b/scene/gui/item_list.cpp index 64f1de42af..bf66a770d3 100644 --- a/scene/gui/item_list.cpp +++ b/scene/gui/item_list.cpp @@ -462,7 +462,7 @@ void ItemList::_input_event(const InputEvent& p_event) { } } else { - if (!mb.mod.command && select_mode==SELECT_MULTI && items[i].selectable && items[i].selected) { + if (!mb.doubleclick && !mb.mod.command && select_mode==SELECT_MULTI && items[i].selectable && items[i].selected) { defer_select_single=i; return; } |