Fix text search in Tree with multiselect

This commit is contained in:
Dawid Marzec 2023-01-07 21:04:23 +01:00
parent fcba87e696
commit 76a3f8e573

View file

@ -4850,7 +4850,11 @@ void Tree::_do_incr_search(const String &p_add) {
return;
}
item->select(col);
if (select_mode == SELECT_MULTI) {
item->set_as_cursor(col);
} else {
item->select(col);
}
ensure_cursor_is_visible();
}