You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-21 14:57:09 +00:00
Fix LineEdit undo behaves strangely
(cherry picked from commit 7501c7f48a)
This commit is contained in:
committed by
Rémi Verschelde
parent
1f54a75310
commit
ea8004052d
@@ -1258,6 +1258,7 @@ void LineEdit::set_text(String p_text) {
|
|||||||
|
|
||||||
clear_internal();
|
clear_internal();
|
||||||
append_at_cursor(p_text);
|
append_at_cursor(p_text);
|
||||||
|
_create_undo_state();
|
||||||
|
|
||||||
if (expand_to_text_length) {
|
if (expand_to_text_length) {
|
||||||
minimum_size_changed();
|
minimum_size_changed();
|
||||||
|
|||||||
Reference in New Issue
Block a user