summaryrefslogtreecommitdiffstats
path: root/library
diff options
context:
space:
mode:
authorfvogel <fvogelnew1@free.fr>2016-02-22 21:46:32 (GMT)
committerfvogel <fvogelnew1@free.fr>2016-02-22 21:46:32 (GMT)
commite34d5227c7b3b6adb662059adbb55ac026d5baf2 (patch)
tree3ac24d40bd6e13b5a3b99a0b4075510875dcea08 /library
parent3dfd0dd611bcd8d85edae8c326be10eb2ee5518a (diff)
downloadtk-bug_3137232fff.zip
tk-bug_3137232fff.tar.gz
tk-bug_3137232fff.tar.bz2
Fixed bug [3137232] - spinbox error after destroying toplevel from widgetbug_3137232fff
Diffstat (limited to 'library')
-rw-r--r--library/spinbox.tcl4
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)