[Kommander-devel] listbox setSelection patch

Eric Laffoon eric at kdewebdev.org
Wed Mar 26 23:24:49 EDT 2008


On Wednesday 26 March 2008 7:23:42 pm Silvan Calarco wrote:
> Hi,
> I had to create a listbox with preselected items and wasn't able to do it
> with any recent release of kommander so I made the simple attached patch
> that modifies the behaviour of setSelection. Maybe it makes sense to merge
> it upstream.
>
> Cheers,
> Silvan

Interesting, but wouldn't it make a LOT more sense for an add uniqe item 
entry? I'm open to developer suggestions for adapting this into the KDE4 
version because it is a nice behavior, provided you're expecting it. I'm 
tending to think it needs it's own specific function.

Thanks for the patch! I like seeing creative input. :)

-- 
Eric Laffoon
Project Lead - kdewebdev module


More information about the Kommander-devel mailing list