Fix LineEdit undo behaves strangely
Fix LineEdit undo behaves strangely

(cherry picked from commit 7501c7f48aae218b693b5b37af6a00380457240e)

ex/godot,ex/godot,ex/godot,ex/godot,ex/godot,ex/godot,ex/godot,ex/godot