From 514bbbfde3ecb483f138054c565c6430cff8828b Mon Sep 17 00:00:00 2001 From: kobewi Date: Tue, 17 Sep 2024 13:59:21 +0200 Subject: [PATCH] Fix generic conversion icon --- editor/editor_resource_picker.cpp | 2 +- editor/filesystem_dock.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/editor/editor_resource_picker.cpp b/editor/editor_resource_picker.cpp index b6b195101c4..a81db5fdaa1 100644 --- a/editor/editor_resource_picker.cpp +++ b/editor/editor_resource_picker.cpp @@ -297,7 +297,7 @@ void EditorResourcePicker::_update_menu_items() { if (has_theme_icon(what, EditorStringName(EditorIcons))) { icon = get_editor_theme_icon(what); } else { - icon = get_theme_icon(what, SNAME("Resource")); + icon = get_editor_theme_icon(SNAME("Object")); } edit_menu->add_icon_item(icon, vformat(TTR("Convert to %s"), what), CONVERT_BASE_ID + relative_id); diff --git a/editor/filesystem_dock.cpp b/editor/filesystem_dock.cpp index aee41d08acf..1082e4d0c2f 100644 --- a/editor/filesystem_dock.cpp +++ b/editor/filesystem_dock.cpp @@ -3414,7 +3414,7 @@ void FileSystemDock::_file_and_folders_fill_popup(PopupMenu *p_popup, const Vect if (has_theme_icon(E, SNAME("EditorIcons"))) { icon = get_editor_theme_icon(E); } else { - icon = get_editor_theme_icon(SNAME("Resource")); + icon = get_editor_theme_icon(SNAME("Object")); } container_menu->add_icon_item(icon, vformat(TTR(conversion_string_template), E), CONVERT_BASE_ID + relative_id);