summaryrefslogtreecommitdiff
path: root/scene/gui/spin_box.cpp
diff options
context:
space:
mode:
authorRĂ©mi Verschelde <remi@verschelde.fr>2021-12-06 18:28:46 +0100
committerGitHub <noreply@github.com>2021-12-06 18:28:46 +0100
commit75ac048e4bc672b9dedf434d71465e6c2703eaec (patch)
tree1c21fb4dd562d9c58c420bd5fecf74c73cf5a611 /scene/gui/spin_box.cpp
parent586c1997896fcdbb1c92d488425d7f4b4659b76d (diff)
parentea7cc1dea93e0003182be2941d10124043c30edf (diff)
Merge pull request #55662 from KoBeWi/update_minimum_size_changed_to_update_minimum_size
Diffstat (limited to 'scene/gui/spin_box.cpp')
-rw-r--r--scene/gui/spin_box.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/scene/gui/spin_box.cpp b/scene/gui/spin_box.cpp
index f30206c943..94a4886fef 100644
--- a/scene/gui/spin_box.cpp
+++ b/scene/gui/spin_box.cpp
@@ -220,8 +220,8 @@ void SpinBox::_notification(int p_what) {
} else if (p_what == NOTIFICATION_TRANSLATION_CHANGED) {
_value_changed(0);
} else if (p_what == NOTIFICATION_THEME_CHANGED) {
- call_deferred(SNAME("minimum_size_changed"));
- get_line_edit()->call_deferred(SNAME("minimum_size_changed"));
+ call_deferred(SNAME("update_minimum_size"));
+ get_line_edit()->call_deferred(SNAME("update_minimum_size"));
} else if (p_what == NOTIFICATION_LAYOUT_DIRECTION_CHANGED || p_what == NOTIFICATION_TRANSLATION_CHANGED) {
update();
}