transaction and selection

Boudewijn Rempt boud at valdyas.org
Wed Apr 13 22:21:19 CEST 2005


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 
selection as well. I think I did something like that in the color picker 
select tool.

-- 
Boudewijn Rempt 
http://www.valdyas.org/fading/index.cgi
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://mail.kde.org/pipermail/kimageshop/attachments/20050413/205694be/attachment.pgp


More information about the kimageshop mailing list