summaryrefslogtreecommitdiffstats
path: root/editor/gui/editor_zoom_widget.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'editor/gui/editor_zoom_widget.cpp')
-rw-r--r--editor/gui/editor_zoom_widget.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/editor/gui/editor_zoom_widget.cpp b/editor/gui/editor_zoom_widget.cpp
index 50a4f020ab..ff232a854f 100644
--- a/editor/gui/editor_zoom_widget.cpp
+++ b/editor/gui/editor_zoom_widget.cpp
@@ -162,8 +162,8 @@ void EditorZoomWidget::_notification(int p_what) {
switch (p_what) {
case NOTIFICATION_ENTER_TREE:
case NOTIFICATION_THEME_CHANGED: {
- zoom_minus->set_icon(get_editor_theme_icon(SNAME("ZoomLess")));
- zoom_plus->set_icon(get_editor_theme_icon(SNAME("ZoomMore")));
+ zoom_minus->set_button_icon(get_editor_theme_icon(SNAME("ZoomLess")));
+ zoom_plus->set_button_icon(get_editor_theme_icon(SNAME("ZoomMore")));
} break;
}
}