Re: Bug in Tk::BrowseEntry [patch]

Slaven Rezic <[email protected]> 22 Nov 2006 22:08:36 +0100
Newsgroups gmane.comp.lang.perl.tk
Message-ID <[email protected]>
"Puetz Kevin A" <[email protected]> writes:

> The operator precedence of "not" is lower than &&, so this test gets
> mis-parsed. This causes the combobox to not remember your previous
> selection when displaying the choices if is an undef item in the list of
> values (I like to do this when there is a "no selection" state).
> 
> A simple fix is attached, as is a script showing the problem. The list
> should dropdown hilighting the 'val2' entry, but instead picks the undef
> one.

Thank you, patch committed!

Regards,
        Slaven

-- 
Slaven Rezic - slaven <at> rezic <dot> de
    babybike - routeplanner for cyclists in Berlin
	       handheld (e.g. Compaq iPAQ with Linux) version of bbbike
    http://bbbike.sourceforge.net
--++**==--++**==--++**==--++**==--++**==--++**==--++**==
ptk mailing list
[email protected]
https://mailman.stanford.edu/mailman/listinfo/ptk