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 | e34d5227c7b3b6adb662059adbb55ac026d5baf2 (patch) | |
tree | 3ac24d40bd6e13b5a3b99a0b4075510875dcea08 /library | |
parent | 3dfd0dd611bcd8d85edae8c326be10eb2ee5518a (diff) | |
download | tk-e34d5227c7b3b6adb662059adbb55ac026d5baf2.zip tk-e34d5227c7b3b6adb662059adbb55ac026d5baf2.tar.gz tk-e34d5227c7b3b6adb662059adbb55ac026d5baf2.tar.bz2 |
Fixed bug [3137232] - spinbox error after destroying toplevel from widgetbug_3137232fff
Diffstat (limited to 'library')
-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) |