You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-04 12:00:25 +00:00
Merge pull request #88794 from ryevdokimov/fix-spinbox
If SpinBox text can't be parsed use last updated text
This commit is contained in:
@@ -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;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user