You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-17 14:11:06 +00:00
Fixed bug where spinbox would not update to it's actual value after non-numeric input
(cherry picked from commit e76e39d5f5)
This commit is contained in:
@@ -62,8 +62,8 @@ void SpinBox::_text_entered(const String &p_string) {
|
|||||||
Variant value = expr->execute(Array(), NULL, false);
|
Variant value = expr->execute(Array(), NULL, false);
|
||||||
if (value.get_type() != Variant::NIL) {
|
if (value.get_type() != Variant::NIL) {
|
||||||
set_value(value);
|
set_value(value);
|
||||||
_value_changed(0);
|
|
||||||
}
|
}
|
||||||
|
_value_changed(0);
|
||||||
}
|
}
|
||||||
|
|
||||||
LineEdit *SpinBox::get_line_edit() {
|
LineEdit *SpinBox::get_line_edit() {
|
||||||
|
|||||||
Reference in New Issue
Block a user