From 10e6be9df695cc2179817d7110247036f793322c Mon Sep 17 00:00:00 2001 From: Christian Kaiser Date: Sun, 28 Apr 2024 13:09:28 -0300 Subject: [PATCH] Fix disabled files in FileDialog using the wrong color --- editor/themes/editor_theme_manager.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/editor/themes/editor_theme_manager.cpp b/editor/themes/editor_theme_manager.cpp index 6151cb4b748..2ab0c2e7b2d 100644 --- a/editor/themes/editor_theme_manager.cpp +++ b/editor/themes/editor_theme_manager.cpp @@ -1291,7 +1291,7 @@ void EditorThemeManager::_populate_standard_styles(const Ref &p_the // Use a different color for folder icons to make them easier to distinguish from files. // On a light theme, the icon will be dark, so we need to lighten it before blending it with the accent color. p_theme->set_color("folder_icon_color", "FileDialog", (p_config.dark_theme ? Color(1, 1, 1) : Color(4.25, 4.25, 4.25)).lerp(p_config.accent_color, 0.7)); - p_theme->set_color("files_disabled", "FileDialog", p_config.font_disabled_color); + p_theme->set_color("file_disabled_color", "FileDialog", p_config.font_disabled_color); // PopupDialog. p_theme->set_stylebox("panel", "PopupDialog", p_config.popup_style);