diff options
author | Eric M <itsjusteza@gmail.com> | 2020-04-26 22:10:11 +1000 |
---|---|---|
committer | Eric M <itsjusteza@gmail.com> | 2020-04-26 22:10:11 +1000 |
commit | e76e39d5f5ae9f39d06e6466dc89ffbcb7bc90cc (patch) | |
tree | 02c967208e6939f789c946b211924cbc11f6af37 /scene | |
parent | 7899b3e734e5c64304e8ffb56293fb4b1912b547 (diff) |
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 8572d570fb..d40cb89d16 100644 --- a/scene/gui/spin_box.cpp +++ b/scene/gui/spin_box.cpp @@ -63,8 +63,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() { |