Skip to content

Commit

Permalink
If spinbox text can't be parsed use last updated text
Browse files Browse the repository at this point in the history
  • Loading branch information
ryevdokimov committed Feb 27, 2024
1 parent 2e7fc81 commit 76a6650
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 76a6650

Please sign in to comment.