fix #39876: no undo of chord symbol edit