summaryrefslogtreecommitdiff
path: root/editor/editor_path.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'editor/editor_path.cpp')
-rw-r--r--editor/editor_path.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/editor/editor_path.cpp b/editor/editor_path.cpp
index 3dee06fb3e..e9ffb08cec 100644
--- a/editor/editor_path.cpp
+++ b/editor/editor_path.cpp
@@ -181,7 +181,7 @@ void EditorPath::_notification(int p_what) {
update_path();
sub_objects_icon->set_texture(get_theme_icon(SNAME("select_arrow"), SNAME("Tree")));
- current_object_label->add_theme_font_override("font", get_theme_font(SNAME("main"), SNAME("EditorFonts")));
+ current_object_label->add_theme_font_override(SNAME("font"), get_theme_font(SNAME("main"), SNAME("EditorFonts")));
} break;
case NOTIFICATION_READY: {
@@ -198,8 +198,8 @@ EditorPath::EditorPath(EditorHistory *p_history) {
MarginContainer *main_mc = memnew(MarginContainer);
main_mc->set_anchors_and_offsets_preset(PRESET_WIDE);
- main_mc->add_theme_constant_override("margin_left", 4 * EDSCALE);
- main_mc->add_theme_constant_override("margin_right", 6 * EDSCALE);
+ main_mc->add_theme_constant_override(SNAME("margin_left"), 4 * EDSCALE);
+ main_mc->add_theme_constant_override(SNAME("margin_right"), 6 * EDSCALE);
add_child(main_mc);
HBoxContainer *main_hb = memnew(HBoxContainer);