open directory or file when double click

fixes #4607
This commit is contained in:
volzhs 2016-05-13 01:22:19 +09:00
parent 91c85ff1f5
commit 81b4d38fa7
1 changed files with 1 additions and 1 deletions

View File

@ -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;
}