Merge pull request #88794 from ryevdokimov/fix-spinbox
If SpinBox text can't be parsed use last updated text
This commit is contained in:
commit
b431314e8f
|
@ -83,6 +83,7 @@ void SpinBox::_text_submitted(const String &p_string) {
|
|||
|
||||
err = expr->parse(text);
|
||||
if (err != OK) {
|
||||
_update_text();
|
||||
return;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue