1
0
mirror of https://github.com/godotengine/godot.git synced 2026-01-05 19:31:35 +00:00

Merge pull request #38223 from EricEzaM/spinbox-update-lineedit-after-bad-input

Fixed bug where spinbox would not update to it's actual value after non-numeric input
This commit is contained in:
Rémi Verschelde
2020-08-14 12:16:32 +02:00
committed by GitHub

View File

@@ -62,8 +62,8 @@ void SpinBox::_text_entered(const String &p_string) {
Variant value = expr->execute(Array(), nullptr, false);
if (value.get_type() != Variant::NIL) {
set_value(value);
_value_changed(0);
}
_value_changed(0);
}
LineEdit *SpinBox::get_line_edit() {