diff options
author | RĂ©mi Verschelde <remi@verschelde.fr> | 2022-02-06 17:03:11 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-02-06 17:03:11 +0100 |
commit | 79a4d782a5ef0801fb65ee8c8a488942044c8e10 (patch) | |
tree | 28da6865bd5f3e92dc0852ff60cafc74329857b7 /editor/project_manager.cpp | |
parent | e38df41de8f20516ab8b2c91bedb4388cd9e41aa (diff) | |
parent | 1ce81dc5f2bd5db8bff0e60af846b994492810f9 (diff) |
Merge pull request #57709 from jmb462/missing-sname-optimization
Diffstat (limited to 'editor/project_manager.cpp')
-rw-r--r-- | editor/project_manager.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/editor/project_manager.cpp b/editor/project_manager.cpp index c582582a7d..cfb42c0741 100644 --- a/editor/project_manager.cpp +++ b/editor/project_manager.cpp @@ -1423,7 +1423,7 @@ void ProjectList::create_project_item_control(int p_index) { Button *show = memnew(Button); // Display a folder icon if the project directory can be opened, or a "broken file" icon if it can't. - show->set_icon(get_theme_icon(!item.missing ? "Load" : "FileBroken", "EditorIcons")); + show->set_icon(get_theme_icon(!item.missing ? SNAME("Load") : SNAME("FileBroken"), SNAME("EditorIcons"))); show->set_flat(true); if (!item.grayed) { // Don't make the icon less prominent if the parent is already grayed out. |