From 468e57dfe5b2ca309775c4c173d2f4ca97f4228c Mon Sep 17 00:00:00 2001 From: Tyler Date: Mon, 28 Aug 2023 16:34:36 -0400 Subject: [PATCH] fixes issue 81071 --- scene/gui/spin_box.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/scene/gui/spin_box.cpp b/scene/gui/spin_box.cpp index 7cb54f24ea93..6812d1051dc8 100644 --- a/scene/gui/spin_box.cpp +++ b/scene/gui/spin_box.cpp @@ -65,6 +65,7 @@ void SpinBox::_text_submitted(const String &p_string) { // Ignore the prefix and suffix in the expression. Error err = expr->parse(num.trim_prefix(prefix + " ").trim_suffix(" " + suffix)); if (err != OK) { + _update_text(); return; }