summaryrefslogtreecommitdiffstats
path: root/editor/plugins/abstract_polygon_2d_editor.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'editor/plugins/abstract_polygon_2d_editor.cpp')
-rw-r--r--editor/plugins/abstract_polygon_2d_editor.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/editor/plugins/abstract_polygon_2d_editor.cpp b/editor/plugins/abstract_polygon_2d_editor.cpp
index 804f9c607e..990b8df49d 100644
--- a/editor/plugins/abstract_polygon_2d_editor.cpp
+++ b/editor/plugins/abstract_polygon_2d_editor.cpp
@@ -158,9 +158,9 @@ void AbstractPolygon2DEditor::_notification(int p_what) {
switch (p_what) {
case NOTIFICATION_ENTER_TREE:
case NOTIFICATION_THEME_CHANGED: {
- button_create->set_icon(get_editor_theme_icon(SNAME("CurveCreate")));
- button_edit->set_icon(get_editor_theme_icon(SNAME("CurveEdit")));
- button_delete->set_icon(get_editor_theme_icon(SNAME("CurveDelete")));
+ button_create->set_button_icon(get_editor_theme_icon(SNAME("CurveCreate")));
+ button_edit->set_button_icon(get_editor_theme_icon(SNAME("CurveEdit")));
+ button_delete->set_button_icon(get_editor_theme_icon(SNAME("CurveDelete")));
} break;
case NOTIFICATION_READY: {