diff options
author | kobewi <kobewi4e@gmail.com> | 2024-09-17 13:59:21 +0200 |
---|---|---|
committer | kobewi <kobewi4e@gmail.com> | 2024-09-17 13:59:21 +0200 |
commit | 514bbbfde3ecb483f138054c565c6430cff8828b (patch) | |
tree | 84c5c10ce20fee52f851d1260f12d9e7c421659c | |
parent | 02b16d2f544e323b7b7f57e6e992b0b8e5d8b954 (diff) | |
download | redot-engine-514bbbfde3ecb483f138054c565c6430cff8828b.tar.gz |
Fix generic conversion icon
-rw-r--r-- | editor/editor_resource_picker.cpp | 2 | ||||
-rw-r--r-- | 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 b6b195101c..a81db5fdaa 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 aee41d08ac..1082e4d0c2 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); |