summaryrefslogtreecommitdiffstats
path: root/editor/plugins/navigation_polygon_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/navigation_polygon_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/navigation_polygon_editor_plugin.cpp')
-rw-r--r--editor/plugins/navigation_polygon_editor_plugin.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/editor/plugins/navigation_polygon_editor_plugin.cpp b/editor/plugins/navigation_polygon_editor_plugin.cpp
index ec59bbb543..3c71040408 100644
--- a/editor/plugins/navigation_polygon_editor_plugin.cpp
+++ b/editor/plugins/navigation_polygon_editor_plugin.cpp
@@ -177,8 +177,8 @@ NavigationPolygonEditor::NavigationPolygonEditor() {
void NavigationPolygonEditor::_notification(int p_what) {
switch (p_what) {
case NOTIFICATION_ENTER_TREE: {
- button_bake->set_icon(get_editor_theme_icon(SNAME("Bake")));
- button_reset->set_icon(get_editor_theme_icon(SNAME("Reload")));
+ button_bake->set_button_icon(get_editor_theme_icon(SNAME("Bake")));
+ button_reset->set_button_icon(get_editor_theme_icon(SNAME("Reload")));
} break;
case EditorSettings::NOTIFICATION_EDITOR_SETTINGS_CHANGED: {
if (rebake_timer) {