Skip to content

Commit

Permalink
fixes issue 81071
Browse files Browse the repository at this point in the history
  • Loading branch information
OXTyler committed Aug 28, 2023
1 parent 3cf1e04 commit 468e57d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions scene/gui/spin_box.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}

Expand Down

0 comments on commit 468e57d

Please sign in to comment.