Merge pull request #71042 from marzecdawid/only-cursor-multiselect-tree-text-search
Fix text search in Tree with multiselect
This commit is contained in:
commit
b65c5bccfa
1 changed files with 5 additions and 1 deletions
|
|
@ -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();
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue