summaryrefslogtreecommitdiffstats
path: root/library/ttk
diff options
context:
space:
mode:
authorhobbs <hobbs>2007-04-13 00:21:47 (GMT)
committerhobbs <hobbs>2007-04-13 00:21:47 (GMT)
commit59b73712486121720aa582183db730964dc8c8a9 (patch)
tree732d086e198007bc55c2d72b14a00171e41cbdf3 /library/ttk
parent61bd267e4576d68219584d4fed309983cd80a773 (diff)
downloadtk-59b73712486121720aa582183db730964dc8c8a9.zip
tk-59b73712486121720aa582183db730964dc8c8a9.tar.gz
tk-59b73712486121720aa582183db730964dc8c8a9.tar.bz2
* library/ttk/panedwindow.tcl (ttk::panedwindow::Press): handle
Press triggering outside sash element boundaries.
Diffstat (limited to 'library/ttk')
-rw-r--r--library/ttk/panedwindow.tcl4
1 files changed, 2 insertions, 2 deletions
diff --git a/library/ttk/panedwindow.tcl b/library/ttk/panedwindow.tcl
index e575e8a..15ec4f8 100644
--- a/library/ttk/panedwindow.tcl
+++ b/library/ttk/panedwindow.tcl
@@ -1,5 +1,5 @@
#
-# $Id: panedwindow.tcl,v 1.2 2006/11/07 03:45:28 jenglish Exp $
+# $Id: panedwindow.tcl,v 1.3 2007/04/13 00:21:47 hobbs Exp $
#
# Bindings for ttk::panedwindow widget.
#
@@ -34,7 +34,7 @@ proc ttk::panedwindow::Press {w x y} {
variable State
lassign [$w identify $x $y] sash element
- if {![info exists sash]} {
+ if {![info exists sash] || $sash eq ""} {
set State(pressed) 0
return
}