mirror of
https://github.com/qelectrotech/qelectrotech-source-mirror.git
synced 2026-10-07 04:04:14 +02:00
5cbd65c1d4
Cropping, keying out a colour, mirroring and replacing a picture set its crop rectangle, transparent colours and original directly and put only the displayed pixmap into the undo command. After Ctrl+Z the picture looked right, but a save still wrote the undone crop and colours, and the picture came back cropped once reopened; a later crop or colour dialog also started from the undone values. The three are now one property, imageSource, changed in the same undo step as the pixmap. The crop itself moves out of the dialog into applyCrop(), so that it can be applied without one. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>