summaryrefslogtreecommitdiffstats
path: root/editor/plugins/mesh_library_editor_plugin.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/plugins/mesh_library_editor_plugin.cpp
parent0debc73dc6eb2c1a4986766506180394e69bda11 (diff)
downloadredot-engine-562c666e3dfc9f0fe72a33974c23373dff77c825.tar.gz
Rename internal Button icon to button_icon to match exposed methods
Diffstat (limited to 'editor/plugins/mesh_library_editor_plugin.cpp')
-rw-r--r--editor/plugins/mesh_library_editor_plugin.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/editor/plugins/mesh_library_editor_plugin.cpp b/editor/plugins/mesh_library_editor_plugin.cpp
index d6650bd08f..6f79ab0529 100644
--- a/editor/plugins/mesh_library_editor_plugin.cpp
+++ b/editor/plugins/mesh_library_editor_plugin.cpp
@@ -260,7 +260,7 @@ MeshLibraryEditor::MeshLibraryEditor() {
Node3DEditor::get_singleton()->add_control_to_menu_panel(menu);
menu->set_position(Point2(1, 1));
menu->set_text(TTR("MeshLibrary"));
- menu->set_icon(EditorNode::get_singleton()->get_editor_theme()->get_icon(SNAME("MeshLibrary"), EditorStringName(EditorIcons)));
+ menu->set_button_icon(EditorNode::get_singleton()->get_editor_theme()->get_icon(SNAME("MeshLibrary"), EditorStringName(EditorIcons)));
menu->get_popup()->add_item(TTR("Add Item"), MENU_OPTION_ADD_ITEM);
menu->get_popup()->add_item(TTR("Remove Selected Item"), MENU_OPTION_REMOVE_ITEM);
menu->get_popup()->add_separator();