diff options
author | RĂ©mi Verschelde <remi@verschelde.fr> | 2021-09-27 23:47:08 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-09-27 23:47:08 +0200 |
commit | 541701fdfb8aee9c8805db5f340bce8ba0af8b59 (patch) | |
tree | fd4ab3d0f0b350a7ce5d02867ba71adf31f6d499 | |
parent | 5503059f3b07c88aaa7efefd0122d51353ac867b (diff) | |
parent | e2b58ef4dc950d4b5a2299b602f4e3234d10b942 (diff) |
Merge pull request #53146 from naeu/fix_folder_icon
Set directory dialog folder icon color
-rw-r--r-- | editor/editor_dir_dialog.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/editor/editor_dir_dialog.cpp b/editor/editor_dir_dialog.cpp index 5df392b91e..f91dedf25d 100644 --- a/editor/editor_dir_dialog.cpp +++ b/editor/editor_dir_dialog.cpp @@ -44,6 +44,7 @@ void EditorDirDialog::_update_dir(TreeItem *p_item, EditorFileSystemDirectory *p p_item->set_metadata(0, p_dir->get_path()); p_item->set_icon(0, tree->get_theme_icon(SNAME("Folder"), SNAME("EditorIcons"))); + p_item->set_icon_modulate(0, tree->get_theme_color(SNAME("folder_icon_modulate"), SNAME("FileDialog"))); if (!p_item->get_parent()) { p_item->set_text(0, "res://"); |