[PATCH] ui/kis_dlg_adjustment_layer.{cc, h}: don't enable OK button if no filter is selected (avoid crash)

Boudewijn Rempt boud at valdyas.org
Wed Feb 22 14:05:14 CET 2006


On Wednesday 22 February 2006 13:56, Melchior FRANZ wrote:
> Don't enable the OK button in the constructor only because there's
> a layer name given. At this point there's never a filter selected,
> so we get a crash on clicking OK. Also don't enable the button if
> the layer name was edited to be empty.
>
> OK to commit?

Certainly!

-- 
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/20060222/e0ec39e9/attachment.pgp 


More information about the kimageshop mailing list