diff options
author | fvogel <fvogelnew1@free.fr> | 2016-03-07 07:25:34 (GMT) |
---|---|---|
committer | fvogel <fvogelnew1@free.fr> | 2016-03-07 07:25:34 (GMT) |
commit | c3cd22c6fba7fe228267b501d84ccb2976bf2f1b (patch) | |
tree | 037982f1b92e84ad64a957abecd2224990078b67 /library/spinbox.tcl | |
parent | f33ad15cba7b74c9f407a17257fccb33ad248907 (diff) | |
download | tk-c3cd22c6fba7fe228267b501d84ccb2976bf2f1b.zip tk-c3cd22c6fba7fe228267b501d84ccb2976bf2f1b.tar.gz tk-c3cd22c6fba7fe228267b501d84ccb2976bf2f1b.tar.bz2 |
Fixed bug [3137232] - spinbox error after destroying toplevel from widget (cherrypicked [e6d91ca077]
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) |