diff options
author | fvogel <fvogelnew1@free.fr> | 2016-02-22 21:46:32 (GMT) |
---|---|---|
committer | fvogel <fvogelnew1@free.fr> | 2016-02-22 21:46:32 (GMT) |
commit | c1281276fbe90d460fcf036c178a97477fa9755d (patch) | |
tree | 3ac24d40bd6e13b5a3b99a0b4075510875dcea08 /library/spinbox.tcl | |
parent | 2c4722a85c6197cf3257adaa63e27a86b551866f (diff) | |
download | tk-c1281276fbe90d460fcf036c178a97477fa9755d.zip tk-c1281276fbe90d460fcf036c178a97477fa9755d.tar.gz tk-c1281276fbe90d460fcf036c178a97477fa9755d.tar.bz2 |
Fixed bug [3137232] - spinbox error after destroying toplevel from widget
Diffstat (limited to 'library/spinbox.tcl')
-rw-r--r-- | library/spinbox.tcl | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/library/spinbox.tcl b/library/spinbox.tcl index 02584f4..fecf7d6 100644 --- a/library/spinbox.tcl +++ b/library/spinbox.tcl @@ -299,6 +299,10 @@ bind Spinbox <B2-Motion> { proc ::tk::spinbox::Invoke {w elem} { variable ::tk::Priv + if {![winfo exists $w]} { + return + } + if {![info exists Priv(outsideElement)]} { $w invoke $elem incr Priv(repeated) |