Thanks but that doesn't work as an UNDO of the repeat only. It removes the repeat signs at the start and stop bars - sure - but still expands (doubles) the number of bars.

The full scenario is this.

I have a song with 16 bars.
I wrongly add a repeat for the middle 8.
I edit the repeat by deleting it in the list
The repeat dotted bar lines go, but I now have 24 bars

I want a real UNDO of the repeat addition and to be left with the original 16 bars. Not so much to ask - is it?

The only way I've found (and it only works if the repeat was the only change so far) is to reload the song without saving the edited one.