summaryrefslogtreecommitdiffstats
path: root/editor/engine_update_label.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'editor/engine_update_label.cpp')
-rw-r--r--editor/engine_update_label.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/editor/engine_update_label.cpp b/editor/engine_update_label.cpp
index c9dfe1f521..958093410a 100644
--- a/editor/engine_update_label.cpp
+++ b/editor/engine_update_label.cpp
@@ -166,7 +166,7 @@ void EngineUpdateLabel::_set_message(const String &p_message, const Color &p_col
if (is_disabled()) {
add_theme_color_override("font_disabled_color", p_color);
} else {
- add_theme_color_override("font_color", p_color);
+ add_theme_color_override(SceneStringName(font_color), p_color);
}
set_text(p_message);
}
@@ -264,7 +264,7 @@ void EngineUpdateLabel::_notification(int p_what) {
} break;
case NOTIFICATION_THEME_CHANGED: {
- theme_cache.default_color = get_theme_color("font_color", "Button");
+ theme_cache.default_color = get_theme_color(SceneStringName(font_color), "Button");
theme_cache.disabled_color = get_theme_color("font_disabled_color", "Button");
theme_cache.error_color = get_theme_color("error_color", EditorStringName(Editor));
theme_cache.update_color = get_theme_color("warning_color", EditorStringName(Editor));