Merge pull request #88794 from ryevdokimov/fix-spinbox

If SpinBox text can't be parsed use last updated text
This commit is contained in:
Rémi Verschelde 2024-02-28 09:34:36 +01:00
commit b431314e8f
No known key found for this signature in database
GPG Key ID: C3336907360768E1
1 changed files with 1 additions and 0 deletions

View File

@ -83,6 +83,7 @@ void SpinBox::_text_submitted(const String &p_string) {
err = expr->parse(text); err = expr->parse(text);
if (err != OK) { if (err != OK) {
_update_text();
return; return;
} }
} }