summaryrefslogtreecommitdiffstats
path: root/library/ttk
diff options
context:
space:
mode:
authorfvogel <fvogelnew1@free.fr>2020-05-03 09:07:01 (GMT)
committerfvogel <fvogelnew1@free.fr>2020-05-03 09:07:01 (GMT)
commit3665af3d8edf5eef718cf79a384c397de8c8b4cb (patch)
tree91319c2efae0b32d579d8ce4e0504a4e57708057 /library/ttk
parentf8e6b44392467bc7a6d6aba8e4f775517d3686ac (diff)
downloadtk-3665af3d8edf5eef718cf79a384c397de8c8b4cb.zip
tk-3665af3d8edf5eef718cf79a384c397de8c8b4cb.tar.gz
tk-3665af3d8edf5eef718cf79a384c397de8c8b4cb.tar.bz2
Fix [88c9e0928b]: Treeview: wrong keyboard navigation with -selectmode none. Patch from Emiliano Gavilan.
Diffstat (limited to 'library/ttk')
-rw-r--r--library/ttk/treeview.tcl6
1 files changed, 3 insertions, 3 deletions
diff --git a/library/ttk/treeview.tcl b/library/ttk/treeview.tcl
index 81ba27e..a9f623c 100644
--- a/library/ttk/treeview.tcl
+++ b/library/ttk/treeview.tcl
@@ -265,9 +265,9 @@ proc ttk::treeview::SelectOp {w item op} {
## -selectmode none:
#
-proc ttk::treeview::select.choose.none {w item} { $w focus $item }
-proc ttk::treeview::select.toggle.none {w item} { $w focus $item }
-proc ttk::treeview::select.extend.none {w item} { $w focus $item }
+proc ttk::treeview::select.choose.none {w item} { $w focus $item; $w see $item }
+proc ttk::treeview::select.toggle.none {w item} { $w focus $item; $w see $item }
+proc ttk::treeview::select.extend.none {w item} { $w focus $item; $w see $item }
## -selectmode browse:
#