diff options
author | hobbs <hobbs> | 2002-09-02 22:00:53 (GMT) |
---|---|---|
committer | hobbs <hobbs> | 2002-09-02 22:00:53 (GMT) |
commit | 6b11cded78379c081d0bf67648cdddcce1f2d9bb (patch) | |
tree | a9ec119ad7ea7c08c630e38e7d81a16610b6337d /library | |
parent | acbe6d8232cbb848e8d36cbecbe52139e4def25b (diff) | |
download | tk-6b11cded78379c081d0bf67648cdddcce1f2d9bb.zip tk-6b11cded78379c081d0bf67648cdddcce1f2d9bb.tar.gz tk-6b11cded78379c081d0bf67648cdddcce1f2d9bb.tar.bz2 |
* library/button.tcl (::tk::ButtonLeave): correctly restore state
of button to normal for unix bindings. [Bug #597920]
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 } |