diff options
Diffstat (limited to 'scene/gui/spin_box.cpp')
-rw-r--r-- | scene/gui/spin_box.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/scene/gui/spin_box.cpp b/scene/gui/spin_box.cpp index bd549a6e4a..d482495ca0 100644 --- a/scene/gui/spin_box.cpp +++ b/scene/gui/spin_box.cpp @@ -280,8 +280,8 @@ void SpinBox::_notification(int p_what) { } break; case NOTIFICATION_THEME_CHANGED: { - call_deferred(SNAME("update_minimum_size")); - get_line_edit()->call_deferred(SNAME("update_minimum_size")); + callable_mp((Control *)this, &Control::update_minimum_size).call_deferred(); + callable_mp((Control *)get_line_edit(), &Control::update_minimum_size).call_deferred(); } break; case NOTIFICATION_LAYOUT_DIRECTION_CHANGED: { |