From 094a9c3bccb2295c87c8370a7c277d2b5af0efa1 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 (cherry picked from commit 81b4d38fa70246446af5ed1b5efcb91b2b38b028) --- 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 51d89e3da3e..56f25ec9783 100644 --- a/scene/gui/item_list.cpp +++ b/scene/gui/item_list.cpp @@ -435,7 +435,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; }