diff options
| author | George Marques | 2016-07-18 12:39:51 -0300 |
|---|---|---|
| committer | George Marques | 2016-07-18 12:39:59 -0300 |
| commit | 0610c77e43eeae135ca0ea14eb5deab3762fe7dc (patch) | |
| tree | 9b93c7b5394a939266ec4047c7b02ca3218bb180 /tools/editor/create_dialog.cpp | |
| parent | 72194ceededdf9472b2f8398581fa5aeb6a20cc1 (diff) | |
| download | godot-0610c77e43eeae135ca0ea14eb5deab3762fe7dc.tar.gz godot-0610c77e43eeae135ca0ea14eb5deab3762fe7dc.tar.zst godot-0610c77e43eeae135ca0ea14eb5deab3762fe7dc.zip | |
Diffstat (limited to 'tools/editor/create_dialog.cpp')
| -rw-r--r-- | tools/editor/create_dialog.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/tools/editor/create_dialog.cpp b/tools/editor/create_dialog.cpp index 210b799f3..07d1566ab 100644 --- a/tools/editor/create_dialog.cpp +++ b/tools/editor/create_dialog.cpp @@ -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; |
