[PATCH] minor lineedit improvement
Chani
chanika at gmail.com
Sat Mar 29 23:19:59 CET 2008
On March 29, 2008 15:17:39 Aaron J. Seigo wrote:
> On Saturday 29 March 2008, Chani wrote:
> > -setDefaultText no longer clobbers regular text
> > -fewer string comparisons
>
> hm.. look fine (the string comparisons would also break if the user entered
> text equalled the default text. heh)
oh yeah, I've removed that little 'feature' ;)
an amusing side-effect of this is that anyone who skips directly from the old
lineedit code (which caused a bug that got the default text saved in a blank
note's config) to this code without running the intermediate fixes (I think I
committed them yesterday or the day before?) will actually *get* the default
text as real text in 'blank' notes.
but having to delete a bit of text once isn't a particularly painful issue. :)
--
This message brought to you by evyl bananas, and the number 3.
www.chani3.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part.
Url : http://mail.kde.org/pipermail/panel-devel/attachments/20080329/5364be09/attachment-0001.pgp
More information about the Panel-devel
mailing list