Merge pull request #53143 from naeu/fix_folder_icon_3.x
[3.x] Set directory dialog folder icon color
This commit is contained in:
commit
5807586188
1 changed files with 1 additions and 0 deletions
|
@ -42,6 +42,7 @@ void EditorDirDialog::_update_dir(TreeItem *p_item, EditorFileSystemDirectory *p
|
|||
|
||||
p_item->set_metadata(0, p_dir->get_path());
|
||||
p_item->set_icon(0, get_icon("Folder", "EditorIcons"));
|
||||
p_item->set_icon_modulate(0, get_color("folder_icon_modulate", "FileDialog"));
|
||||
|
||||
if (!p_item->get_parent()) {
|
||||
p_item->set_text(0, "res://");
|
||||
|
|
Loading…
Reference in a new issue