diff options
author | fvogel <fvogelnew1@free.fr> | 2015-07-28 20:31:10 (GMT) |
---|---|---|
committer | fvogel <fvogelnew1@free.fr> | 2015-07-28 20:31:10 (GMT) |
commit | b9956dbf40df0456a972263dd768f2b890ce3eb5 (patch) | |
tree | 18256f270cb0ad7edb8be081e055f07a38671349 /library | |
parent | 669cc3928e2e48f9ebb7accede7444184fa9d3bf (diff) | |
parent | f286e06ad2da094e8154ec23f9b379d5cadd4f2d (diff) | |
download | tk-b9956dbf40df0456a972263dd768f2b890ce3eb5.zip tk-b9956dbf40df0456a972263dd768f2b890ce3eb5.tar.gz tk-b9956dbf40df0456a972263dd768f2b890ce3eb5.tar.bz2 |
Fixed bug [1236306fff] - TraverseToMenu error with alt binding to toplevel destroy
Diffstat (limited to 'library')
-rw-r--r-- | library/menu.tcl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/library/menu.tcl b/library/menu.tcl index cd05207..5a5d9de 100644 --- a/library/menu.tcl +++ b/library/menu.tcl @@ -1036,7 +1036,7 @@ proc ::tk::MenuFind {w char} { proc ::tk::TraverseToMenu {w char} { variable ::tk::Priv - if {$char eq ""} { + if {![winfo exists $w] || $char eq ""} { return } while {[winfo class $w] eq "Menu"} { |