diff options
author | hobbs <hobbs@noemail.net> | 2002-09-02 22:00:52 (GMT) |
---|---|---|
committer | hobbs <hobbs@noemail.net> | 2002-09-02 22:00:52 (GMT) |
commit | 32c1c6c22bbb323cb5461b9911706ed4068e89ff (patch) | |
tree | a9ec119ad7ea7c08c630e38e7d81a16610b6337d /library | |
parent | 2e245d00978729ad1ff3f9f13ec933ea72200b17 (diff) | |
download | tk-32c1c6c22bbb323cb5461b9911706ed4068e89ff.zip tk-32c1c6c22bbb323cb5461b9911706ed4068e89ff.tar.gz tk-32c1c6c22bbb323cb5461b9911706ed4068e89ff.tar.bz2 |
* library/button.tcl (::tk::ButtonLeave): correctly restore state
of button to normal for unix bindings. [Bug #597920]
FossilOrigin-Name: 9034f66115cc40124863e2e6113cc3071256d5bc
Diffstat (limited to 'library')
-rw-r--r-- | library/button.tcl | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/library/button.tcl b/library/button.tcl index 65971d8..928e2b1 100644 --- a/library/button.tcl +++ b/library/button.tcl @@ -4,7 +4,7 @@ # checkbutton, and radiobutton widgets and provides procedures # that help in implementing those bindings. # -# RCS: @(#) $Id: button.tcl,v 1.15 2002/08/31 06:12:28 das Exp $ +# RCS: @(#) $Id: button.tcl,v 1.16 2002/09/02 22:00:53 hobbs Exp $ # # Copyright (c) 1992-1994 The Regents of the University of California. # Copyright (c) 1994-1996 Sun Microsystems, Inc. @@ -342,7 +342,7 @@ proc ::tk::ButtonEnter {w} { proc ::tk::ButtonLeave w { variable ::tk::Priv - if {[$w cget -state] eq "disabled"} { + if {[$w cget -state] ne "disabled"} { $w configure -state normal } |