fix #39876: no undo of chord symbol edit

Replaces #1474