summaryrefslogtreecommitdiffstats
path: root/editor/editor_autoload_settings.cpp
diff options
context:
space:
mode:
authorA Thousand Ships <96648715+AThousandShips@users.noreply.github.com>2024-05-14 15:57:29 +0200
committerA Thousand Ships <96648715+AThousandShips@users.noreply.github.com>2024-06-18 17:24:27 +0200
commitd519715d94dc1062addcfc8efad47abb494fa4c5 (patch)
treef0a07687df7c9ce6f6d31874a44a4e0dedc836f9 /editor/editor_autoload_settings.cpp
parentb435551682f93cf49f606d260b28e13ff5526beb (diff)
downloadredot-engine-d519715d94dc1062addcfc8efad47abb494fa4c5.tar.gz
[Scene] Add `SceneStringNames::font(_size/_color)`
Diffstat (limited to 'editor/editor_autoload_settings.cpp')
-rw-r--r--editor/editor_autoload_settings.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/editor/editor_autoload_settings.cpp b/editor/editor_autoload_settings.cpp
index 13f2fd047c..746afe0737 100644
--- a/editor/editor_autoload_settings.cpp
+++ b/editor/editor_autoload_settings.cpp
@@ -884,7 +884,7 @@ EditorAutoloadSettings::EditorAutoloadSettings() {
error_message = memnew(Label);
error_message->hide();
error_message->set_horizontal_alignment(HORIZONTAL_ALIGNMENT_RIGHT);
- error_message->add_theme_color_override("font_color", EditorNode::get_singleton()->get_editor_theme()->get_color(SNAME("error_color"), EditorStringName(Editor)));
+ error_message->add_theme_color_override(SceneStringName(font_color), EditorNode::get_singleton()->get_editor_theme()->get_color(SNAME("error_color"), EditorStringName(Editor)));
add_child(error_message);
Label *l = memnew(Label);