summaryrefslogtreecommitdiffstats
path: root/editor/plugins/theme_editor_plugin.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'editor/plugins/theme_editor_plugin.cpp')
-rw-r--r--editor/plugins/theme_editor_plugin.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/editor/plugins/theme_editor_plugin.cpp b/editor/plugins/theme_editor_plugin.cpp
index f52a0913e2..3ac1c0d559 100644
--- a/editor/plugins/theme_editor_plugin.cpp
+++ b/editor/plugins/theme_editor_plugin.cpp
@@ -164,7 +164,7 @@ void ThemeItemImportTree::_update_items_tree() {
break;
case Theme::DATA_TYPE_FONT:
- data_type_node->set_icon(0, get_editor_theme_icon(SNAME("Font")));
+ data_type_node->set_icon(0, get_editor_theme_icon(SNAME("FontItem")));
data_type_node->set_text(0, TTR("Fonts"));
item_list = &tree_font_items;
@@ -876,7 +876,7 @@ void ThemeItemImportTree::_notification(int p_what) {
select_all_constants_button->set_icon(get_editor_theme_icon(SNAME("ThemeSelectAll")));
select_full_constants_button->set_icon(get_editor_theme_icon(SNAME("ThemeSelectFull")));
- select_fonts_icon->set_texture(get_editor_theme_icon(SNAME("Font")));
+ select_fonts_icon->set_texture(get_editor_theme_icon(SNAME("FontItem")));
deselect_all_fonts_button->set_icon(get_editor_theme_icon(SNAME("ThemeDeselectAll")));
select_all_fonts_button->set_icon(get_editor_theme_icon(SNAME("ThemeSelectAll")));
select_full_fonts_button->set_icon(get_editor_theme_icon(SNAME("ThemeSelectFull")));
@@ -1387,7 +1387,7 @@ void ThemeItemEditorDialog::_update_edit_item_tree(String p_item_type) {
if (names.size() > 0) {
TreeItem *font_root = edit_items_tree->create_item(root);
font_root->set_metadata(0, Theme::DATA_TYPE_FONT);
- font_root->set_icon(0, get_editor_theme_icon(SNAME("Font")));
+ font_root->set_icon(0, get_editor_theme_icon(SNAME("FontItem")));
font_root->set_text(0, TTR("Fonts"));
font_root->add_button(0, get_editor_theme_icon(SNAME("Clear")), ITEMS_TREE_REMOVE_DATA_TYPE, false, TTR("Remove All Font Items"));
@@ -1875,7 +1875,7 @@ void ThemeItemEditorDialog::_notification(int p_what) {
case NOTIFICATION_THEME_CHANGED: {
edit_items_add_color->set_icon(get_editor_theme_icon(SNAME("Color")));
edit_items_add_constant->set_icon(get_editor_theme_icon(SNAME("MemberConstant")));
- edit_items_add_font->set_icon(get_editor_theme_icon(SNAME("Font")));
+ edit_items_add_font->set_icon(get_editor_theme_icon(SNAME("FontItem")));
edit_items_add_font_size->set_icon(get_editor_theme_icon(SNAME("FontSize")));
edit_items_add_icon->set_icon(get_editor_theme_icon(SNAME("ImageTexture")));
edit_items_add_stylebox->set_icon(get_editor_theme_icon(SNAME("StyleBoxFlat")));
@@ -3318,7 +3318,7 @@ void ThemeTypeEditor::_notification(int p_what) {
data_type_tabs->set_tab_icon(0, get_editor_theme_icon(SNAME("Color")));
data_type_tabs->set_tab_icon(1, get_editor_theme_icon(SNAME("MemberConstant")));
- data_type_tabs->set_tab_icon(2, get_editor_theme_icon(SNAME("Font")));
+ data_type_tabs->set_tab_icon(2, get_editor_theme_icon(SNAME("FontItem")));
data_type_tabs->set_tab_icon(3, get_editor_theme_icon(SNAME("FontSize")));
data_type_tabs->set_tab_icon(4, get_editor_theme_icon(SNAME("ImageTexture")));
data_type_tabs->set_tab_icon(5, get_editor_theme_icon(SNAME("StyleBoxFlat")));