Merge pull request #5781 from vnen/create-node-base-icon
Add icon for root node in Create Dialog
This commit is contained in:
commit
f04137b942
1 changed files with 3 additions and 0 deletions
|
@ -154,6 +154,9 @@ void CreateDialog::_update_search() {
|
|||
TreeItem *root = search_options->create_item();
|
||||
|
||||
root->set_text(0,base_type);
|
||||
if (has_icon(base_type,"EditorIcons")) {
|
||||
root->set_icon(0,get_icon(base_type,"EditorIcons"));
|
||||
}
|
||||
|
||||
List<StringName>::Element *I=type_list.front();
|
||||
TreeItem *to_select=NULL;
|
||||
|
|
Loading…
Reference in a new issue