Fix text search in Tree with multiselect
This commit is contained in:
parent
fcba87e696
commit
76a3f8e573
1 changed files with 5 additions and 1 deletions
|
@ -4850,7 +4850,11 @@ void Tree::_do_incr_search(const String &p_add) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
item->select(col);
|
if (select_mode == SELECT_MULTI) {
|
||||||
|
item->set_as_cursor(col);
|
||||||
|
} else {
|
||||||
|
item->select(col);
|
||||||
|
}
|
||||||
ensure_cursor_is_visible();
|
ensure_cursor_is_visible();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue