diff options
author | RĂ©mi Verschelde <rverschelde@gmail.com> | 2020-08-14 12:16:32 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-08-14 12:16:32 +0200 |
commit | fac2bb99ac2143094e24a9173b77b8bee764373d (patch) | |
tree | accb6c6366b6640980e0a7af86a1d1692d9d5670 /scene | |
parent | e0ee38b128fa84b8e7db499ead66264ca4ec9c60 (diff) | |
parent | e76e39d5f5ae9f39d06e6466dc89ffbcb7bc90cc (diff) |
Merge pull request #38223 from EricEzaM/spinbox-update-lineedit-after-bad-input
Fixed bug where spinbox would not update to it's actual value after non-numeric input
Diffstat (limited to 'scene')
-rw-r--r-- | scene/gui/spin_box.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scene/gui/spin_box.cpp b/scene/gui/spin_box.cpp index 3670f13705..ae2f99e91d 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(), nullptr, false); if (value.get_type() != Variant::NIL) { set_value(value); - _value_changed(0); } + _value_changed(0); } LineEdit *SpinBox::get_line_edit() { |