CreateDialog: select root if search exactly match
(cherry picked from commit 9fb90d7aea
)
This commit is contained in:
parent
1fea09bfeb
commit
76955cc187
@ -222,7 +222,7 @@ void CreateDialog::_update_search() {
|
||||
}
|
||||
|
||||
List<StringName>::Element *I = type_list.front();
|
||||
TreeItem *to_select = NULL;
|
||||
TreeItem *to_select = search_box->get_text() == base_type ? root : NULL;
|
||||
|
||||
for (; I; I = I->next()) {
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user