Preserve selection when focusing SpinBox

This commit is contained in:
kobewi
2023-06-10 21:29:24 +02:00
parent 37d1dfef9d
commit 968c5f6247
3 changed files with 18 additions and 1 deletions

View File

@@ -54,7 +54,7 @@ void SpinBox::_update_text() {
}
}
line_edit->set_text(value);
line_edit->set_text_with_selection(value);
}
void SpinBox::_text_submitted(const String &p_string) {