summaryrefslogtreecommitdiffstats
path: root/library
diff options
context:
space:
mode:
authorhobbs <hobbs>2007-04-13 00:21:47 (GMT)
committerhobbs <hobbs>2007-04-13 00:21:47 (GMT)
commit7922558c4afe051a690141290017eff820891f4b (patch)
tree732d086e198007bc55c2d72b14a00171e41cbdf3 /library
parent5c92eeae963d9367d7abc04a7c1885040b9fb05a (diff)
downloadtk-7922558c4afe051a690141290017eff820891f4b.zip
tk-7922558c4afe051a690141290017eff820891f4b.tar.gz
tk-7922558c4afe051a690141290017eff820891f4b.tar.bz2
* library/ttk/panedwindow.tcl (ttk::panedwindow::Press): handle
Press triggering outside sash element boundaries.
Diffstat (limited to 'library')
-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
}