summaryrefslogtreecommitdiffstats
path: root/editor/themes/editor_theme_manager.cpp
diff options
context:
space:
mode:
authorAdam Scott <ascott.ca@gmail.com>2024-02-25 13:10:29 -0500
committerAdam Scott <ascott.ca@gmail.com>2024-03-12 09:57:59 -0400
commit44d3ce2c11b844d919e363f5cb15f1c03ad3f77e (patch)
tree3a717033c09a1171f0171a8669d328389b0bec6f /editor/themes/editor_theme_manager.cpp
parent22c20cea6e59a8a95585adb866c007a55c428806 (diff)
downloadredot-engine-44d3ce2c11b844d919e363f5cb15f1c03ad3f77e.tar.gz
Add browse folder and browse file icons
Diffstat (limited to 'editor/themes/editor_theme_manager.cpp')
-rw-r--r--editor/themes/editor_theme_manager.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/editor/themes/editor_theme_manager.cpp b/editor/themes/editor_theme_manager.cpp
index 8aa2fe41ce..1f451487cb 100644
--- a/editor/themes/editor_theme_manager.cpp
+++ b/editor/themes/editor_theme_manager.cpp
@@ -1659,6 +1659,8 @@ void EditorThemeManager::_populate_editor_styles(const Ref<EditorTheme> &p_theme
{
p_theme->set_stylebox("project_list", "ProjectManager", p_config.tree_panel_style);
p_theme->set_constant("sidebar_button_icon_separation", "ProjectManager", int(6 * EDSCALE));
+ p_theme->set_icon("browse_folder", "ProjectManager", p_theme->get_icon(SNAME("FolderBrowse"), EditorStringName(EditorIcons)));
+ p_theme->set_icon("browse_file", "ProjectManager", p_theme->get_icon(SNAME("FileBrowse"), EditorStringName(EditorIcons)));
// ProjectTag.
{