open directory or file when double click

fixes #4607

(cherry picked from commit 81b4d38fa7)
This commit is contained in:
volzhs 2016-05-13 01:22:19 +09:00 committed by Rémi Verschelde
parent 5d2a23d99c
commit 094a9c3bcc
1 changed files with 1 additions and 1 deletions

View File

@ -435,7 +435,7 @@ void ItemList::_input_event(const InputEvent& p_event) {
} }
} else { } 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; defer_select_single=i;
return; return;
} }