summaryrefslogtreecommitdiffstats
path: root/editor/project_settings_editor.cpp
diff options
context:
space:
mode:
authorAaron Franke <arnfranke@yahoo.com>2024-10-09 15:21:47 -0700
committerAaron Franke <arnfranke@yahoo.com>2024-10-29 16:23:03 -0700
commit562c666e3dfc9f0fe72a33974c23373dff77c825 (patch)
tree9d703690d34b0221fc8fa0738cab3a7a697419ba /editor/project_settings_editor.cpp
parent0debc73dc6eb2c1a4986766506180394e69bda11 (diff)
downloadredot-engine-562c666e3dfc9f0fe72a33974c23373dff77c825.tar.gz
Rename internal Button icon to button_icon to match exposed methods
Diffstat (limited to 'editor/project_settings_editor.cpp')
-rw-r--r--editor/project_settings_editor.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/editor/project_settings_editor.cpp b/editor/project_settings_editor.cpp
index f973367bed..89c18143dc 100644
--- a/editor/project_settings_editor.cpp
+++ b/editor/project_settings_editor.cpp
@@ -576,10 +576,10 @@ void ProjectSettingsEditor::_update_action_map_editor() {
}
void ProjectSettingsEditor::_update_theme() {
- add_button->set_icon(get_editor_theme_icon(SNAME("Add")));
- del_button->set_icon(get_editor_theme_icon(SNAME("Remove")));
+ add_button->set_button_icon(get_editor_theme_icon(SNAME("Add")));
+ del_button->set_button_icon(get_editor_theme_icon(SNAME("Remove")));
search_box->set_right_icon(get_editor_theme_icon(SNAME("Search")));
- restart_close_button->set_icon(get_editor_theme_icon(SNAME("Close")));
+ restart_close_button->set_button_icon(get_editor_theme_icon(SNAME("Close")));
restart_container->add_theme_style_override(SceneStringName(panel), get_theme_stylebox(SceneStringName(panel), SNAME("Tree")));
restart_icon->set_texture(get_editor_theme_icon(SNAME("StatusWarning")));
restart_label->add_theme_color_override(SceneStringName(font_color), get_theme_color(SNAME("warning_color"), EditorStringName(Editor)));