Thanks, h_d. I'm very new to the Affinity suite, having switched from the ridiculously overpriced Adobe suite, and am still learning how to use the Affinity programs efficiently.
On several occasions I've had the same unintentional problem as duch_suva and arlene.con (totally unaware of what keystroke combination triggered the misbehaviour) and had been baffled about how to repair things afterwards. Since I'm apparently not the first person to deal with such an annoyance, might it not be a good idea for the Affinity programmers to enter a record of the rotation transform (whether accidental or intended) into the queue of actions that have been performed? That way a user could undo an accidental rotation with a simple command-Z.
Kind regards, Erik