open directory or file when double click
fixes #4607
(cherry picked from commit 81b4d38fa7
)
This commit is contained in:
parent
5d2a23d99c
commit
094a9c3bcc
|
@ -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;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue