Hi,<br><br>Great! Thanks Jesper.<br><br>I just noticed the filtering is only done when clicking on a super category, not when you change category using up or down arrow. I guess that's just a matter of "listener" (signal is the term used in qt, isn't it?) which is not installed samely with "onclick" and something like "onkeydown".
<br><br>-- Baptiste<br><br><div><span class="gmail_quote">2006/12/24, Jesper K. Pedersen <<a href="mailto:blackie@blackie.dk">blackie@blackie.dk</a>>:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Thanks, the patch is applied.<br><br>On Tuesday 21 November 2006 01:35, Baptiste MATHUS wrote:<br>| Hi all,<br>|<br>| It's been a long time I'm wondering why in KPA it's possible to do<br>| that, say a super-category A would be composed of B, C and... A.
<br>|<br>| I don't think it's logical and I don't see a use case where it could<br>| be useful. So, I think that when selecting categories of a<br>| super-category, the super-category should not be present.<br>
|<br>| I never programmed with Qt (cuf cuf, before tonight) but did some C++<br>| and a lot of C some years ago. So I just did a small patch to show<br>| it's easy to patch the code so as to proceed as I'm proposing. This
<br>| patch also modifies the code to not act when clicking on the category<br>| that was already selected so its children were already selected too.<br>|<br>| Feel free to have a look at it and to modify it so as it looks more Qt
<br>| like code if you please.<br>| Let me know what you think.<br><br>--<br>Having trouble finding a given image in your collection containing<br>thousands of images?<br><br><a href="http://www.kphotoalbum.org">http://www.kphotoalbum.org
</a> might be the answer.<br></blockquote></div><br><br clear="all"><br>-- <br>Baptiste <Batmat> MATHUS<br>BMathus at Batmat point net - <a href="http://batmat.net">http://batmat.net</a><br>---------<br>Si chacun de nous a une idée et que nous les partageons, nous
<br>repartirons tous les deux avec deux idées... C'est ça le Libre.