fixes issue 81071
This commit is contained in:
parent
3cf1e04579
commit
468e57dfe5
1 changed files with 1 additions and 0 deletions
|
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue