diff options
author | fvogel <fvogelnew1@free.fr> | 2016-03-07 07:23:32 (GMT) |
---|---|---|
committer | fvogel <fvogelnew1@free.fr> | 2016-03-07 07:23:32 (GMT) |
commit | 3cfbe8c3cbcd156bfc4b58934d1fb1f65291bfdd (patch) | |
tree | 11e37a47e2655503b70df917280f25bac3cc6ed2 | |
parent | 2fd9fcf08d73f688888ef8784be0c5493b80d818 (diff) | |
parent | e34d5227c7b3b6adb662059adbb55ac026d5baf2 (diff) | |
download | tk-3cfbe8c3cbcd156bfc4b58934d1fb1f65291bfdd.zip tk-3cfbe8c3cbcd156bfc4b58934d1fb1f65291bfdd.tar.gz tk-3cfbe8c3cbcd156bfc4b58934d1fb1f65291bfdd.tar.bz2 |
Fixed bug [3137232] - spinbox error after destroying toplevel from widget
-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) |