summaryrefslogtreecommitdiffstats
path: root/library/ttk
diff options
context:
space:
mode:
authorjenglish <jenglish@noemail.net>2008-04-25 19:08:30 (GMT)
committerjenglish <jenglish@noemail.net>2008-04-25 19:08:30 (GMT)
commit486ef785a9b6cf6ebf6d0936331b13427d17927d (patch)
treec514b3b70a1ad3ca43aa8e17411f9a4a0738faf9 /library/ttk
parentac87014c6284dfe5def963208a053876500047c7 (diff)
downloadtk-486ef785a9b6cf6ebf6d0936331b13427d17927d.zip
tk-486ef785a9b6cf6ebf6d0936331b13427d17927d.tar.gz
tk-486ef785a9b6cf6ebf6d0936331b13427d17927d.tar.bz2
BUGFIX: [$tv selection] takes a list of items, not a single item [Bug 1951733].
FossilOrigin-Name: 8400566d7efc22a1ed84a6371d900d9771429c4c
Diffstat (limited to 'library/ttk')
-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 473e21b..d2a1015 100644
--- a/library/ttk/treeview.tcl
+++ b/library/ttk/treeview.tcl
@@ -1,4 +1,4 @@
-# $Id: treeview.tcl,v 1.4 2008/01/30 05:33:19 jenglish Exp $
+# $Id: treeview.tcl,v 1.5 2008/04/25 19:08:32 jenglish Exp $
#
# ttk::treeview widget bindings and utilities.
#
@@ -280,7 +280,7 @@ proc ttk::treeview::select.choose.extended {w item} {
BrowseTo $w $item
}
proc ttk::treeview::select.toggle.extended {w item} {
- $w selection toggle $item
+ $w selection toggle [list $item]
}
proc ttk::treeview::select.extend.extended {w item} {
if {[set anchor [$w focus]] ne ""} {