Undo pasting glyph names into class causes crash

When I copy glyph names as a list and paste into a new class, and then realise I don’t want every glyph name on a new line and try to undo that, Glyphs crashes.

I can’t reproduce this. What version do you have? Did you send crash reports?