Message72425
| Author |
gpolo |
| Recipients |
gpolo |
| Date |
2008年09月03日.22:32:09 |
| SpamBayes Score |
2.8810139e-06 |
| Marked as misclassified |
No |
| Message-id |
<1220481131.49.0.0978802326192.issue3767@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
Chooser._fixresult in the tkColorChooser module uses "if not result" to
check if user canceled the dialog, but nowadays Tk may return a cached
object that contains the result we are after, so, this object will not
simply evaluate to false and _fixresult will act like if the user didn't
cancel the dialog.
The fix is simple, just get the real value of result in that check. |
|
History
|
|---|
| Date |
User |
Action |
Args |
| 2008年09月03日 22:32:11 | gpolo | set | recipients:
+ gpolo |
| 2008年09月03日 22:32:11 | gpolo | set | messageid: <1220481131.49.0.0978802326192.issue3767@psf.upfronthosting.co.za> |
| 2008年09月03日 22:32:10 | gpolo | link | issue3767 messages |
| 2008年09月03日 22:32:10 | gpolo | create |
|