diff options
author | hobbs <hobbs> | 2007-02-19 23:52:19 (GMT) |
---|---|---|
committer | hobbs <hobbs> | 2007-02-19 23:52:19 (GMT) |
commit | de9611c48d37dc29f0c06e2f04705c60d0c2b85f (patch) | |
tree | 1218ec3c834cb7d50a7f12345a47ff9ed5fa0ce8 /library | |
parent | 70d72ae261aa0e388cabeeaf1c8f38027f17874a (diff) | |
download | tk-de9611c48d37dc29f0c06e2f04705c60d0c2b85f.zip tk-de9611c48d37dc29f0c06e2f04705c60d0c2b85f.tar.gz tk-de9611c48d37dc29f0c06e2f04705c60d0c2b85f.tar.bz2 |
* library/tkfbox.tcl (::tk::IconList_Goto): avoid goto issues in
empty dirs. [Bug 1662959]
Diffstat (limited to 'library')
-rw-r--r-- | library/tkfbox.tcl | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/library/tkfbox.tcl b/library/tkfbox.tcl index 60c8ab2..a9228e1 100644 --- a/library/tkfbox.tcl +++ b/library/tkfbox.tcl @@ -11,7 +11,7 @@ # files by clicking on the file icons or by entering a filename # in the "Filename:" entry. # -# RCS: @(#) $Id: tkfbox.tcl,v 1.58 2006/07/07 00:39:42 hobbs Exp $ +# RCS: @(#) $Id: tkfbox.tcl,v 1.59 2007/02/19 23:52:19 hobbs Exp $ # # Copyright (c) 1994-1998 Sun Microsystems, Inc. # @@ -733,7 +733,7 @@ proc ::tk::IconList_Goto {w text} { return } - if {$text eq ""} { + if {$text eq "" || $data(numItems) == 0} { return } |