From kde-kimageshop Wed Apr 13 20:21:19 2005 From: Boudewijn Rempt Date: Wed, 13 Apr 2005 20:21:19 +0000 To: kde-kimageshop Subject: Re: transaction and selection Message-Id: <200504132221.24457.boud () valdyas ! org> X-MARC-Message: https://marc.info/?l=kde-kimageshop&m=111342367232602 MIME-Version: 1 Content-Type: multipart/mixed; boundary="--===============1272415848==" --===============1272415848== Content-Type: multipart/signed; boundary="nextPart2371983.o81gQU7utC"; protocol="application/pgp-signature"; micalg=pgp-sha1 Content-Transfer-Encoding: 7bit --nextPart2371983.o81gQU7utC Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline On Wednesday 13 April 2005 21:54, Casper Boemann wrote: > I'm fiddeling with undo for the transform tool > > I use the painter.getTransaction but I have a problem > > only the canvas is undone not the selection. I don't know if that is > because the transaction doesn't handle selections at all or if it is > because I delete the selection as part of the transform > > anyway that is a problem > > anyone have some insights or ideas? > A selection is a paint device; therefore you need a transaction on the=20 selection as well. I think I did something like that in the color picker=20 select tool. =2D-=20 Boudewijn Rempt=20 http://www.valdyas.org/fading/index.cgi --nextPart2371983.o81gQU7utC Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.5 (GNU/Linux) iD8DBQBCXX9EdaCcgCmN5d8RAkwUAKDkC0viobsfovgU+LYpiUEmIJ4/DACcDPuK FndVOPzR++C91KOjRYh/6KY= =9M8J -----END PGP SIGNATURE----- --nextPart2371983.o81gQU7utC-- --===============1272415848== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ kimageshop mailing list kimageshop@kde.org https://mail.kde.org/mailman/listinfo/kimageshop --===============1272415848==--