summaryrefslogtreecommitdiffstats
path: root/editor/project_manager/project_list.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'editor/project_manager/project_list.cpp')
-rw-r--r--editor/project_manager/project_list.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/editor/project_manager/project_list.cpp b/editor/project_manager/project_list.cpp
index 39c1a78c4a..27f04c0d0d 100644
--- a/editor/project_manager/project_list.cpp
+++ b/editor/project_manager/project_list.cpp
@@ -67,9 +67,9 @@ void ProjectListItemControl::_notification(int p_what) {
favorite_button->set_texture_normal(get_editor_theme_icon(SNAME("Favorites")));
if (project_is_missing) {
- explore_button->set_icon(get_editor_theme_icon(SNAME("FileBroken")));
+ explore_button->set_button_icon(get_editor_theme_icon(SNAME("FileBroken")));
} else {
- explore_button->set_icon(get_editor_theme_icon(SNAME("Load")));
+ explore_button->set_button_icon(get_editor_theme_icon(SNAME("Load")));
}
} break;
@@ -196,12 +196,12 @@ void ProjectListItemControl::set_is_missing(bool p_missing) {
if (project_is_missing) {
project_icon->set_modulate(Color(1, 1, 1, 0.5));
- explore_button->set_icon(get_editor_theme_icon(SNAME("FileBroken")));
+ explore_button->set_button_icon(get_editor_theme_icon(SNAME("FileBroken")));
explore_button->set_tooltip_text(TTR("Error: Project is missing on the filesystem."));
} else {
project_icon->set_modulate(Color(1, 1, 1, 1.0));
- explore_button->set_icon(get_editor_theme_icon(SNAME("Load")));
+ explore_button->set_button_icon(get_editor_theme_icon(SNAME("Load")));
#if !defined(ANDROID_ENABLED) && !defined(WEB_ENABLED)
explore_button->set_tooltip_text(TTR("Show in File Manager"));
#else