From 81b4d38fa70246446af5ed1b5efcb91b2b38b028 Mon Sep 17 00:00:00 2001 From: volzhs Date: Fri, 13 May 2016 01:22:19 +0900 Subject: [PATCH] open directory or file when double click fixes #4607 --- scene/gui/item_list.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scene/gui/item_list.cpp b/scene/gui/item_list.cpp index 64f1de42afa..bf66a770d3e 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; }