diff options
author | hobbs <hobbs@noemail.net> | 2007-04-13 00:21:46 (GMT) |
---|---|---|
committer | hobbs <hobbs@noemail.net> | 2007-04-13 00:21:46 (GMT) |
commit | 79d3b7dda98ab8e92dafbbcadcc85e7eb870c196 (patch) | |
tree | 732d086e198007bc55c2d72b14a00171e41cbdf3 /library | |
parent | 9fd3736a7f61a23c966494dfffc33645fd368f3a (diff) | |
download | tk-79d3b7dda98ab8e92dafbbcadcc85e7eb870c196.zip tk-79d3b7dda98ab8e92dafbbcadcc85e7eb870c196.tar.gz tk-79d3b7dda98ab8e92dafbbcadcc85e7eb870c196.tar.bz2 |
* library/ttk/panedwindow.tcl (ttk::panedwindow::Press): handle
Press triggering outside sash element boundaries.
FossilOrigin-Name: 8dbdaf2bd306eec6ba51698128f5449b528b64c0
Diffstat (limited to 'library')
-rw-r--r-- | library/ttk/panedwindow.tcl | 4 |
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 } |