From e2b58ef4dc950d4b5a2299b602f4e3234d10b942 Mon Sep 17 00:00:00 2001 From: naeu <36885263+naeu@users.noreply.github.com> Date: Mon, 27 Sep 2021 19:10:20 +0100 Subject: Set dialog folder icon color --- editor/editor_dir_dialog.cpp | 1 + 1 file changed, 1 insertion(+) 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://"); -- cgit v1.2.3