event bugs & selection picker

Sven Langkamp longamp at reallygood.de
Sat Apr 30 02:26:28 CEST 2005


Am Freitag, 29. April 2005 22:37 schrieb Melchior FRANZ:
> * Adrian Page -- Friday 29 April 2005 22:13:
> > The tool's activate() function is called when it becomes active and
> > clear() when it becomes inactive, so you could start and stop the timer
> > in there.
>
> Sounded good. Unfortunately, the behavior is a bit strange. On tool select
> activate() is called twice(!), and then followed by one clear(). When
> selecting another tool, the matching second clear() is called. Of course I
> can count the activate()s and clear()s to overcome this, but it's
> suspicious. Is it reliable?

I have attached a patch to fix that. Adrian can you have a look one that?
-------------- next part --------------
A non-text attachment was scrubbed...
Name: patch.diff
Type: text/x-diff
Size: 2431 bytes
Desc: not available
Url : http://mail.kde.org/pipermail/kimageshop/attachments/20050430/eb739e8d/patch.bin


More information about the kimageshop mailing list