Skip to content

Commit

Permalink
Merge pull request #88794 from ryevdokimov/fix-spinbox
Browse files Browse the repository at this point in the history
If SpinBox text can't be parsed use last updated text
  • Loading branch information
akien-mga committed Feb 28, 2024
2 parents 0ac99b9 + 76a6650 commit b431314
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 @@ -83,6 +83,7 @@ void SpinBox::_text_submitted(const String &p_string) {

err = expr->parse(text);
if (err != OK) {
_update_text();
return;
}
}
Expand Down

0 comments on commit b431314

Please sign in to comment.