Merge pull request #5781 from vnen/create-node-base-icon

Add icon for root node in Create Dialog
This commit is contained in:
Rémi Verschelde 2016-07-18 17:52:13 +02:00 committed by GitHub
commit f04137b942

View file

@ -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;