summaryrefslogtreecommitdiffstats
path: root/library/ttk/treeview.tcl
diff options
context:
space:
mode:
authorjenglish@flightlab.com <jenglish>2008-01-30 05:33:18 (GMT)
committerjenglish@flightlab.com <jenglish>2008-01-30 05:33:18 (GMT)
commitf9dad438a16ba4d5cb1abf9279377e1ed5be54d7 (patch)
treea2d8e9c3052aeb6c17e9125c77ad89ab7cd84567 /library/ttk/treeview.tcl
parent199aaa8440127f4a798798cba93ee867f8fd9952 (diff)
downloadtk-f9dad438a16ba4d5cb1abf9279377e1ed5be54d7.zip
tk-f9dad438a16ba4d5cb1abf9279377e1ed5be54d7.tar.gz
tk-f9dad438a16ba4d5cb1abf9279377e1ed5be54d7.tar.bz2
library/treeview.tcl: Fix bug in Shift-ButtonPress-1 binding
(error if no current focus item; reported on c.l.t.)
Diffstat (limited to 'library/ttk/treeview.tcl')
-rw-r--r--library/ttk/treeview.tcl4
1 files changed, 2 insertions, 2 deletions
diff --git a/library/ttk/treeview.tcl b/library/ttk/treeview.tcl
index a5ebcb2..473e21b 100644
--- a/library/ttk/treeview.tcl
+++ b/library/ttk/treeview.tcl
@@ -1,4 +1,4 @@
-# $Id: treeview.tcl,v 1.3 2008/01/06 19:16:12 jenglish Exp $
+# $Id: treeview.tcl,v 1.4 2008/01/30 05:33:19 jenglish Exp $
#
# ttk::treeview widget bindings and utilities.
#
@@ -286,7 +286,7 @@ proc ttk::treeview::select.extend.extended {w item} {
if {[set anchor [$w focus]] ne ""} {
$w selection set [between $w $anchor $item]
} else {
- BrowseTo $item
+ BrowseTo $w $item
}
}