mirror of
https://github.com/godotengine/godot.git
synced 2026-01-03 18:11:19 +03:00
Preserve selection when focusing SpinBox
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user