From e24b9f0520d17767de2550b747e5c7e91233249c Mon Sep 17 00:00:00 2001 From: Eric M Date: Sun, 26 Apr 2020 22:10:11 +1000 Subject: [PATCH] Fixed bug where spinbox would not update to it's actual value after non-numeric input (cherry picked from commit e76e39d5f5ae9f39d06e6466dc89ffbcb7bc90cc) --- scene/gui/spin_box.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scene/gui/spin_box.cpp b/scene/gui/spin_box.cpp index 92377949f83..5c9f48535a9 100644 --- a/scene/gui/spin_box.cpp +++ b/scene/gui/spin_box.cpp @@ -62,8 +62,8 @@ void SpinBox::_text_entered(const String &p_string) { Variant value = expr->execute(Array(), NULL, false); if (value.get_type() != Variant::NIL) { set_value(value); - _value_changed(0); } + _value_changed(0); } LineEdit *SpinBox::get_line_edit() {