You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2026-01-06 19:41:11 +00:00
Fix LineEdit undo behaves strangely
This commit is contained in:
@@ -1234,6 +1234,7 @@ void LineEdit::delete_text(int p_from_column, int p_to_column) {
|
||||
void LineEdit::set_text(String p_text) {
|
||||
clear_internal();
|
||||
append_at_cursor(p_text);
|
||||
_create_undo_state();
|
||||
|
||||
update();
|
||||
cursor_pos = 0;
|
||||
|
||||
Reference in New Issue
Block a user