summaryrefslogtreecommitdiff
path: root/scene
diff options
context:
space:
mode:
authorRĂ©mi Verschelde <rverschelde@gmail.com>2020-08-14 12:16:32 +0200
committerGitHub <noreply@github.com>2020-08-14 12:16:32 +0200
commitfac2bb99ac2143094e24a9173b77b8bee764373d (patch)
treeaccb6c6366b6640980e0a7af86a1d1692d9d5670 /scene
parente0ee38b128fa84b8e7db499ead66264ca4ec9c60 (diff)
parente76e39d5f5ae9f39d06e6466dc89ffbcb7bc90cc (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.cpp2
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() {